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
avcodec/parser: assert that there is a past buffer if theres a reference into the past
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.4
Michael Niedermayer
8 years ago
parent
3c716682a8
commit
c0607d88ee
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/parser.c
+ 2
- 0
libavcodec/parser.c
View File
@@ -285,6 +285,8 @@ int ff_combine_frame(ParseContext *pc, int next,
return -1;
}
av_assert0(next >= 0 || pc->buffer);
*buf_size =
pc->overread_index = pc->index + next;
Write
Preview
Loading…
Cancel
Save