Skip to content

Instantly share code, notes, and snippets.

@rcombs

rcombs/stdin Secret

Created November 16, 2015 22:23
Show Gist options
  • Save rcombs/f5714700f902afb16bfe to your computer and use it in GitHub Desktop.
Save rcombs/f5714700f902afb16bfe to your computer and use it in GitHub Desktop.
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 251b2c6..ae9ae5b 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -284,6 +284,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st,
{ "m4v", AV_CODEC_ID_MPEG4, AVMEDIA_TYPE_VIDEO },
{ "mp3", AV_CODEC_ID_MP3, AVMEDIA_TYPE_AUDIO },
{ "mpegvideo", AV_CODEC_ID_MPEG2VIDEO, AVMEDIA_TYPE_VIDEO },
+ { "truehd", AV_CODEC_ID_TRUEHD, AVMEDIA_TYPE_AUDIO },
{ 0 }
};
int score;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment