[FFmpeg-devel] [PATCH] avformat/mxfdec: dont truncate packets
Michael Niedermayer
michaelni at gmx.at
Thu Oct 24 21:28:14 CEST 2013
Fixes Ticket2776
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavformat/mxfdec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index d0cbeea..59e5c0d 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -2285,7 +2285,6 @@ static int mxf_read_packet_old(AVFormatContext *s, AVPacket *pkt)
"KLV for edit unit %i extending into "
"next edit unit",
mxf->current_edit_unit);
- klv.length = next_ofs - avio_tell(s->pb);
}
/* check for 8 channels AES3 element */
--
1.7.9.5
More information about the ffmpeg-devel
mailing list