ffmpeg | branch: master | Reimar Döffinger <reimar.doeffin...@gmx.de> | Sat Oct 
18 15:26:26 2014 +0200| [79be253635fc194b635fc18fe613d0b3dbaba613] | committer: 
Reimar Döffinger

mxfdec: minor simplification.

Signed-off-by: Reimar Döffinger <reimar.doeffin...@gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=79be253635fc194b635fc18fe613d0b3dbaba613
---

 libavformat/mxfdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index cc740b5..37d0fae 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -2625,7 +2625,7 @@ static int mxf_read_packet_old(AVFormatContext *s, 
AVPacket *pkt)
             pkt->stream_index = index;
             pkt->pos = klv.offset;
 
-            codec = s->streams[index]->codec;
+            codec = st->codec;
 
             if (codec->codec_type == AVMEDIA_TYPE_VIDEO && next_ofs >= 0) {
                 /* mxf->current_edit_unit good - see if we have an

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to