diff raw.c @ 3405:9e77f940abc4 libavformat

raw mlp demuxer Based on patch by Jeff Muizelaar <jrmuizel <at> gmail.org> http://article.gmane.org/gmane.comp.video.ffmpeg.devel/57797
author ramiro
date Fri, 30 May 2008 16:05:56 +0000
parents 811c78fac294
children 7a0230981402
line wrap: on
line diff
--- a/raw.c	Fri May 30 13:26:40 2008 +0000
+++ b/raw.c	Fri May 30 16:05:56 2008 +0000
@@ -442,6 +442,19 @@
     .value = CODEC_ID_SHORTEN,
 };
 
+AVInputFormat mlp_demuxer = {
+    "mlp",
+    "raw mlp",
+    0,
+    NULL,
+    audio_read_header,
+    raw_read_partial_packet,
+    raw_read_close,
+    .flags= AVFMT_GENERIC_INDEX,
+    .extensions = "mlp",
+    .value = CODEC_ID_MLP,
+};
+
 AVInputFormat flac_demuxer = {
     "flac",
     "raw flac",