git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
aaeae28
)
avcodec/h264_sei: ff_h264_decode_sei: dont try to parse trailing zeroes
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Sep 2014 01:57:00 +0000
(
03:57
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Sep 2014 02:07:22 +0000
(
04:07
+0200)
reduces noise for tserrors.ts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_sei.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_sei.c
b/libavcodec/h264_sei.c
index
aa889b8
..
8e1697a
100644
(file)
--- a/
libavcodec/h264_sei.c
+++ b/
libavcodec/h264_sei.c
@@
-281,7
+281,7
@@
static int decode_display_orientation(H264Context *h)
int ff_h264_decode_sei(H264Context *h)
{
- while (get_bits_left(&h->gb) > 16) {
+ while (get_bits_left(&h->gb) > 16
&& show_bits(&h->gb, 16)
) {
int type = 0;
unsigned size = 0;
unsigned next;