[FFmpeg-devel] [PATCH] examples/decoding_encoding: apply various message log fixes

Stefano Sabatini stefasab at gmail.com
Thu Sep 13 20:51:21 CEST 2012


On date Thursday 2012-09-13 16:29:25 +0200, Michael Niedermayer encoded:
> On Thu, Sep 13, 2012 at 10:19:57AM +0200, Stefano Sabatini wrote:
> [...]
> > @@ -255,13 +255,13 @@ static void audio_decode_example(const char *outfilename, const char *filename)
> >  
> >      /* open it */
> >      if (avcodec_open2(c, codec, NULL) < 0) {
> > -        fprintf(stderr, "could not open codec\n");
> > +        fprintf(stderr, "Could not open codec\n");
> >          exit(1);
> >      }
> >  
> >      f = fopen(filename, "rb");
> >      if (!f) {
> > -        fprintf(stderr, "could not open %s\n", filename);
> > +        fprintf(stderr, "Could not open file %s\n", filename);
> 
> "Could not open myfile.mpg" is IMHO better than
> "Could not open file myfile.mpg"
> 
> The same may apply to other changes
> 
> otherwise, no objections from me

Applied with that change.
-- 
FFmpeg = Fancy and Fanciful Mystic Puritan Exxagerate Game


More information about the ffmpeg-devel mailing list