From 21de6ba5c12fbdd2ad86e5faf8aa12be8f5f6408 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sat, 13 Oct 2012 19:10:57 +0200 Subject: 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. --- libavformat/nutenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/nutenc.c') 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) { -- cgit v1.2.3