avformat/nut: Add HEVC and Opus support

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Leo Izen 2017-03-28 17:07:47 -04:00 committed by Michael Niedermayer
parent 14764b93e2
commit 7449169081

View File

@ -42,6 +42,7 @@ const AVCodecTag ff_nut_video_tags[] = {
{ AV_CODEC_ID_GIF, MKTAG('G', 'I', 'F', 0 ) },
{ AV_CODEC_ID_XFACE, MKTAG('X', 'F', 'A', 'C') },
{ AV_CODEC_ID_VP9, MKTAG('V', 'P', '9', '0') },
{ AV_CODEC_ID_HEVC, MKTAG('H', 'E', 'V', 'C') },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 15 ) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 15 ) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 16 ) },
@ -201,6 +202,7 @@ const AVCodecTag ff_nut_audio_extra_tags[] = {
{ AV_CODEC_ID_PCM_ALAW, MKTAG('A', 'L', 'A', 'W') },
{ AV_CODEC_ID_PCM_MULAW, MKTAG('U', 'L', 'A', 'W') },
{ AV_CODEC_ID_MP3, MKTAG('M', 'P', '3', ' ') },
{ AV_CODEC_ID_OPUS, MKTAG('O', 'p', 'u', 's') },
{ AV_CODEC_ID_WAVPACK, MKTAG('w', 'v', 'p', 'k') },
{ AV_CODEC_ID_NONE, 0 }
};