aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rawenc.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-04-29 20:46:00 +0200
committerNicolas George <nicolas.george@normalesup.org>2013-05-01 11:56:34 +0200
commit276fcbde6c5532a02aacd2e2d31beaa8d4e79a8a (patch)
tree4be6e1184e3add477dd4daae5de6ede40e2ec8cc /libavformat/rawenc.c
parent3319679d0a36bec3e78f639d6f9fbbe596f6eec3 (diff)
downloadffmpeg-276fcbde6c5532a02aacd2e2d31beaa8d4e79a8a.tar.gz
lavf: data muxer and demuxer.
Allow to use tools designed to work with demuxers, muxers and packets (for example ffmpeg itself) to process raw byte streams (like aviocat).
Diffstat (limited to 'libavformat/rawenc.c')
-rw-r--r--libavformat/rawenc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c
index 7894c8e0c5..7a1fa93e8b 100644
--- a/libavformat/rawenc.c
+++ b/libavformat/rawenc.c
@@ -68,6 +68,15 @@ AVOutputFormat ff_cavsvideo_muxer = {
};
#endif
+#if CONFIG_DATA_MUXER
+AVOutputFormat ff_data_muxer = {
+ .name = "data",
+ .long_name = NULL_IF_CONFIG_SMALL("raw data"),
+ .write_packet = ff_raw_write_packet,
+ .flags = AVFMT_NOTIMESTAMPS,
+};
+#endif
+
#if CONFIG_DIRAC_MUXER
AVOutputFormat ff_dirac_muxer = {
.name = "dirac",