This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
mkv: mark corrupted packets and return them
Do return error if memory allocation or I/O fails.
tags/n0.11
Luca Barbato
14 years ago
parent
721af294d9
commit
0ca4642ec5
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
libavformat/matroskadec.c
+ 5
- 0
libavformat/matroskadec.c
View File
@@ -2069,6 +2069,11 @@ static int matroska_read_packet(AVFormatContext *s, AVPacket *pkt)
ret = matroska_parse_cluster(matroska);
}
if (ret == AVERROR_INVALIDDATA) {
pkt->flags |= AV_PKT_FLAG_CORRUPT;
return 0;
}
return ret;
}
Write
Preview
Loading…
Cancel
Save