You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Merge commit '2a66a580678dd9401f4d95e01e0958ca51864b6f'
* commit '2a66a580678dd9401f4d95e01e0958ca51864b6f':
rtpdec_mpa_robust: Fix incrementing split_pos
Conflicts:
libavformat/rtpdec_mpa_robust.c
See: ebf1f512e9
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -98,7 +98,7 @@ static int mpa_robust_parse_packet(AVFormatContext *ctx, PayloadContext *data,
|
|||||||
pkt->stream_index = st->index;
|
pkt->stream_index = st->index;
|
||||||
memcpy(pkt->data, buf, adu_size);
|
memcpy(pkt->data, buf, adu_size);
|
||||||
|
|
||||||
data->split_pos = (buf - data->split_buf) + adu_size;
|
data->split_pos += header_size + adu_size;
|
||||||
|
|
||||||
if (data->split_pos == data->split_buf_size) {
|
if (data->split_pos == data->split_buf_size) {
|
||||||
av_freep(&data->split_buf);
|
av_freep(&data->split_buf);
|
||||||
|
Reference in New Issue
Block a user