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
(parent:
db5cc75
)
rtpdec_mpa_robust: Fix incrementing split_pos
author
Martin Storsjö
<martin@martin.st>
Mon, 2 Mar 2015 12:46:30 +0000
(14:46 +0200)
committer
Martin Storsjö
<martin@martin.st>
Wed, 4 Mar 2015 07:34:14 +0000
(09:34 +0200)
This fixes an oversight in
96084251
, in a refactoring done on top
of Gilles' original patch.
Pointed out by Gilles Chanteperdrix.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec_mpa_robust.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_mpa_robust.c
b/libavformat/rtpdec_mpa_robust.c
index
028be09
..
022cfec
100644
(file)
--- a/
libavformat/rtpdec_mpa_robust.c
+++ b/
libavformat/rtpdec_mpa_robust.c
@@
-98,7
+98,7
@@
static int mpa_robust_parse_packet(AVFormatContext *ctx, PayloadContext *data,
pkt->stream_index = st->index;
memcpy(pkt->data, buf, adu_size);
- data->split_pos += adu_size;
+ data->split_pos +=
header_size +
adu_size;
if (data->split_pos == data->split_buf_size) {
av_freep(&data->split_buf);