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:
4218174
)
rtpdec_h263_rfc2190: Clear the stored bits if discarding buffered data
author
Martin Storsjö
<martin@martin.st>
Wed, 17 Dec 2014 11:50:06 +0000
(13:50 +0200)
committer
Martin Storsjö
<martin@martin.st>
Thu, 18 Dec 2014 09:59:54 +0000
(11:59 +0200)
If we throw away the buffered incomplete frame, make sure to also
throw away the buffered bits of an incomplete byte at the same
time.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec_h263_rfc2190.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_h263_rfc2190.c
b/libavformat/rtpdec_h263_rfc2190.c
index
116db75
..
d507ef7
100644
(file)
--- a/
libavformat/rtpdec_h263_rfc2190.c
+++ b/
libavformat/rtpdec_h263_rfc2190.c
@@
-83,6
+83,7
@@
static int h263_handle_packet(AVFormatContext *ctx, PayloadContext *data,
avio_close_dyn_buf(data->buf, &p);
av_free(p);
data->buf = NULL;
+ data->endbyte_bits = 0;
}
if (len < 4) {