[Ffmpeg-devel] [PATCH] fix av_find_input_format() for mpeg4

Robert Lippmann rlippmann
Sat Jun 4 00:36:46 CEST 2005


hi all,

go easy on me, it's my first patch submission :)

the attached patch splits the input formats in mov.c into multiple input
formats.  the 4 or so names for the input format were causing
av_find_input_format("mov") etc to fail (which probably also caused
ffmpeg -f mov to fail too).

as a side effect, ffmpeg -formats now correctly reports encode/decode
capabilities for each type on one line.  i figured it was easier than
modifying av_find_input_format and show_formats in ffmpeg.c to have to deal
with parsing comma delimited lists.  that, and more descriptive names for
each file type can be given (i'm not wild about the ones i picked, if anyone
has any suggestions).

also, the long names for the output file formats should probably be changed
to match.

is .qt a valid file extension for decoding via mov.c?  should it be added?

-- rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movformats.diff
Type: application/octet-stream
Size: 1485 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050603/db45fd82/attachment.obj>



More information about the ffmpeg-devel mailing list