[Ffmpeg-devel] [PATCH] let ffplay can play more pixel format

Guillaume POIRIER poirierg
Thu Feb 22 01:35:13 CET 2007


Hi,

On 2/16/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Thu, Feb 15, 2007 at 10:22:31AM +0800, Limin Wang wrote:
> >      if (err < 0) {
> > @@ -2335,8 +2339,20 @@
> >      }
> >  }
> >
> > -void opt_width(const char *arg)
> [...]
> > +static void opt_width(const char *arg)
> > +{
> >      screen_width = atoi(arg);
> >      if(screen_width<=0){
> >          fprintf(stderr, "invalid width\n");
> > @@ -2344,7 +2360,7 @@
> >      }
> >  }
> >
> > -void opt_height(const char *arg)
> > +static void opt_height(const char *arg)
>
>
> > -void opt_seek(const char *arg)
> > +static void opt_seek(const char *arg)

> unreleated changes

fixed

> except these the patch should be ok

Seems to work, applied.

Guillaume




More information about the ffmpeg-devel mailing list