aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-08-26 15:28:21 -0300
committerJames Almer <jamrial@gmail.com>2016-08-27 11:21:12 -0300
commitdc7e5adbc0867956102afc85e2b59b878e5a27ed (patch)
tree57f0fd3c08cde33b0a1bb10fcb088c188b42d15c
parentf242d74d170e020d433267b6cd4c7fe400883939 (diff)
downloadffmpeg-dc7e5adbc0867956102afc85e2b59b878e5a27ed.tar.gz
avformat/utils: fix a codecpar non use
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index ba08792c3f..7d23c4ae47 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -617,7 +617,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;
}
}