projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed79093
)
rtpdec_vp8: Simplify code by using an existing helper function
author
Martin Storsjö
<martin@martin.st>
Wed, 9 Jan 2013 12:25:22 +0000
(14:25 +0200)
committer
Martin Storsjö
<martin@martin.st>
Thu, 10 Jan 2013 07:41:44 +0000
(09:41 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec_vp8.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_vp8.c
b/libavformat/rtpdec_vp8.c
index
c1bffaa
..
b7d5345
100644
(file)
--- a/
libavformat/rtpdec_vp8.c
+++ b/
libavformat/rtpdec_vp8.c
@@
-225,11
+225,8
@@
static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8,
if (vp8->timestamp != *timestamp) {
// Missed the start of the new frame, sequence broken
- vp8->sequence_ok = 0;
- av_log(ctx, AV_LOG_WARNING,
- "Received no start marker; dropping frame\n");
- vp8_free_buffer(vp8);
- return AVERROR(EAGAIN);
+ return vp8_broken_sequence(ctx, vp8,
+ "Received no start marker; dropping frame\n");
}
if (seq != expected_seq) {