On 23/11/2016 09:04, Anton Khirnov wrote: > --- > doc/examples/decode_audio.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c > index e7b27d3..d952b49 100644 > --- a/doc/examples/decode_audio.c > +++ b/doc/examples/decode_audio.c > @@ -179,6 +179,11 @@ int main(int argc, char **argv) > } > } > > + /* flush the decoder */ > + pkt->data = NULL; > + pkt->size = 0; > + decode(c, pkt, decoded_frame, outfile); > + > fclose(outfile); > fclose(f); > >
Thank you :) _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel