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

Michael Niedermayer michaelni
Thu Jan 28 12:57:20 CET 2010

On Thu, Jan 28, 2010 at 03:18:06PM +0530, Jai Menon wrote:
> 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...

i think you have to move that below  the code that sets ic->video_codec_id

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100128/58f8411e/attachment.pgp>

More information about the ffmpeg-devel mailing list