Mercurial > libavformat.hg
comparison mov.c @ 1169:d18cc9a1fd02 libavformat
allow individual selection of muxers and demuxers
author | mru |
---|---|
date | Mon, 10 Jul 2006 21:14:37 +0000 |
parents | c894489e2abe |
children | 6a5e58d2114b |
comparison
equal
deleted
inserted
replaced
1168:c894489e2abe | 1169:d18cc9a1fd02 |
---|---|
1905 av_freep(&mov->ctab[i]); | 1905 av_freep(&mov->ctab[i]); |
1906 av_freep(&mov->ctab); | 1906 av_freep(&mov->ctab); |
1907 return 0; | 1907 return 0; |
1908 } | 1908 } |
1909 | 1909 |
1910 static AVInputFormat mov_demuxer = { | 1910 AVInputFormat mov_demuxer = { |
1911 "mov,mp4,m4a,3gp,3g2,mj2", | 1911 "mov,mp4,m4a,3gp,3g2,mj2", |
1912 "QuickTime/MPEG4/Motion JPEG 2000 format", | 1912 "QuickTime/MPEG4/Motion JPEG 2000 format", |
1913 sizeof(MOVContext), | 1913 sizeof(MOVContext), |
1914 mov_probe, | 1914 mov_probe, |
1915 mov_read_header, | 1915 mov_read_header, |
1916 mov_read_packet, | 1916 mov_read_packet, |
1917 mov_read_close, | 1917 mov_read_close, |
1918 mov_read_seek, | 1918 mov_read_seek, |
1919 }; | 1919 }; |
1920 | |
1921 int mov_init(void) | |
1922 { | |
1923 av_register_input_format(&mov_demuxer); | |
1924 return 0; | |
1925 } |