Commit fee0f1de authored by Anton Khirnov's avatar Anton Khirnov

examples/decode_audio: flush the decoder

parent 9a38184a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment