Commit 7a562a31 authored by Reimar Döffinger's avatar Reimar Döffinger

Do not set codec_tag when the container does not specify it.

Originally committed as revision 10445 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent fd065d05
...@@ -149,7 +149,6 @@ static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) { ...@@ -149,7 +149,6 @@ static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) {
vst = av_new_stream(s, ctx->v_id); vst = av_new_stream(s, ctx->v_id);
vst->codec->codec_type = CODEC_TYPE_VIDEO; vst->codec->codec_type = CODEC_TYPE_VIDEO;
vst->codec->codec_id = CODEC_ID_NUV; vst->codec->codec_id = CODEC_ID_NUV;
vst->codec->codec_tag = MKTAG('R', 'J', 'P', 'G');
vst->codec->width = width; vst->codec->width = width;
vst->codec->height = height; vst->codec->height = height;
vst->codec->bits_per_sample = 10; vst->codec->bits_per_sample = 10;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment