summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-10-13 19:10:57 +0200
committerLuca Barbato <lu_zero@gentoo.org>2012-10-16 15:26:31 +0200
commit21de6ba5c12fbdd2ad86e5faf8aa12be8f5f6408 (patch)
treedc851189a4c175d06b008bcbb4a0e6eb60c5e3d3 /libavformat
parent3b20eb25e7b95fafdccbb594c947a69c5d027b2c (diff)
nut: export codec_tag provided by rawvideo
Raw audio does not provide valid audio tags while rawvideo does. The fate refs have to be updated because it undoes the previous tag change.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/nutenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 6338924f48..9985cd9b4c 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -385,7 +385,7 @@ static int write_streamheader(AVFormatContext *avctx, AVIOContext *bc, AVStream
}
ff_put_v(bc, 4);
- if (!codec_tag)
+ if (!codec_tag || codec->codec_id == AV_CODEC_ID_RAWVIDEO)
codec_tag = codec->codec_tag;
if (codec_tag) {