[FFmpeg-devel] [PATCH] remove ap->[audio|video]_codec_id usage from lavf

Jai Menon jmenon86
Thu Jan 28 10:48:06 CET 2010


On Thu, Jan 28, 2010 at 11:51 AM, Jai Menon <jmenon86 at gmail.com> wrote:
> Hi,
>
> Since AVFormatParameters::[audio|video]_codec_id are slated for
> removal at next major bump, maybe we could stop using them. regression
> tests pass.

Here are the changes to ffmpeg.c as well. About the
pgmyuv_compatibility hack, does that even work currently? i think it
would still error out when no -vcodec opt is passed, which seems to be
the case when -fmt pgmyuv is used. maybe the codec_id lookup can be
avoided if fmt is pgmyuv...

-- 
Jai Menon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_ap_codec_id_ffmpeg.c.patch
Type: application/octet-stream
Size: 684 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100128/319d8de0/attachment.obj>



More information about the ffmpeg-devel mailing list