examples/decode_audio: flush the decoder

This commit is contained in:
Anton Khirnov 2016-10-19 21:56:22 +02:00
parent 9a38184a14
commit fee0f1de2c

View File

@ -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);