Skip to content
Snippets Groups Projects
Commit a0a0199d authored by Nicolas George's avatar Nicolas George
Browse files

examples/filtering_audio: do not stop on decode error.

Decode errors can happen with concatenated MP3s
with different formats.
parent 8f19483d
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,7 @@ int main(int argc, char **argv) ...@@ -199,7 +199,7 @@ int main(int argc, char **argv)
av_free_packet(&packet); av_free_packet(&packet);
if (ret < 0) { if (ret < 0) {
av_log(NULL, AV_LOG_ERROR, "Error decoding audio\n"); av_log(NULL, AV_LOG_ERROR, "Error decoding audio\n");
break; continue;
} }
if (got_frame) { if (got_frame) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment