mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 10:00:08 +01:00
mxfdec: minor simplification.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
@@ -2625,7 +2625,7 @@ static int mxf_read_packet_old(AVFormatContext *s, AVPacket *pkt)
|
|||||||
pkt->stream_index = index;
|
pkt->stream_index = index;
|
||||||
pkt->pos = klv.offset;
|
pkt->pos = klv.offset;
|
||||||
|
|
||||||
codec = s->streams[index]->codec;
|
codec = st->codec;
|
||||||
|
|
||||||
if (codec->codec_type == AVMEDIA_TYPE_VIDEO && next_ofs >= 0) {
|
if (codec->codec_type == AVMEDIA_TYPE_VIDEO && next_ofs >= 0) {
|
||||||
/* mxf->current_edit_unit good - see if we have an
|
/* mxf->current_edit_unit good - see if we have an
|
||||||
|
|||||||
Reference in New Issue
Block a user