mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 19:37:30 +01:00
Forgotten free on error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18813 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6e809b6f52
commit
ee00cceb8b
@ -433,6 +433,8 @@ int read_asf_header(demuxer_t *demuxer,struct asf_priv* asf){
|
||||
stream_read(demuxer->stream, guid_buffer, 16);
|
||||
if (memcmp(guid_buffer, asf_data_chunk_guid, 16) != 0) {
|
||||
mp_msg(MSGT_HEADER, MSGL_FATAL, MSGTR_MPDEMUX_ASFHDR_NoDataChunkAfterHeader);
|
||||
free(streams);
|
||||
streams = NULL;
|
||||
return 0;
|
||||
}
|
||||
// read length of chunk
|
||||
|
Loading…
Reference in New Issue
Block a user