[FFmpeg-devel] [PATCH] avformat/utils: fix a codecpar non use
James Almer
jamrial at gmail.com
Fri Aug 26 21:49:55 EEST 2016
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavformat/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index d7f3c7a..bdf43b3 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -614,7 +614,7 @@ static void force_codec_ids(AVFormatContext *s, AVStream *st)
break;
case AVMEDIA_TYPE_DATA:
if (s->data_codec_id)
- st->codec->codec_id = s->data_codec_id;
+ st->codecpar->codec_id = s->data_codec_id;
break;
}
}
--
2.9.1
More information about the ffmpeg-devel
mailing list