OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f25367f
)
avcodec/tak_parser: fix parsing of streams with bunch of small frames at end
author
Paul B Mahol
<onemda@gmail.com>
Mon, 18 Apr 2016 21:27:08 +0000
(23:27 +0200)
committer
Paul B Mahol
<onemda@gmail.com>
Mon, 18 Apr 2016 21:37:41 +0000
(23:37 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/tak_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/tak_parser.c
b/libavcodec/tak_parser.c
index
4f2149a
..
1417fb4
100644
(file)
--- a/
libavcodec/tak_parser.c
+++ b/
libavcodec/tak_parser.c
@@
-59,7
+59,7
@@
static int tak_parse(AVCodecParserContext *s, AVCodecContext *avctx,
while (buf_size || t->index + needed <= pc->index) {
if (buf_size && t->index + TAK_MAX_FRAME_HEADER_BYTES > pc->index) {
- int tmp_buf_size = FFMIN(
2 *
TAK_MAX_FRAME_HEADER_BYTES,
+ int tmp_buf_size = FFMIN(TAK_MAX_FRAME_HEADER_BYTES,
buf_size);
const uint8_t *tmp_buf = buf;