On Thu, Oct 20, 2016 at 04:07:39PM +0200, Anton Khirnov wrote: > --- a/doc/examples/decode_video.c > +++ b/doc/examples/decode_video.c > @@ -99,8 +99,6 @@ int main(int argc, char **argv) > exit(1); > } > > - /* the codec gives us the frame size, in samples */ > - > f = fopen(filename, "rb"); > if (!f) { > fprintf(stderr, "could not open %s\n", filename);
I think you should remove this from avcodec.c before the set instead of cargo-culting it around further. Patch itself LGTM. Diego _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel