mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01:00
examples/decode_audio: flush the decoder
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user