mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-13 21:26:33 +02:00
examples/decode_audio: flush the decoder
This commit is contained in:
parent
9a38184a14
commit
fee0f1de2c
@ -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(outfile);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user