From a0a0199da3f9730f23f3f73f193991d05bf12d71 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Fri, 27 Apr 2012 23:46:09 +0200 Subject: [PATCH] examples/filtering_audio: do not stop on decode error. Decode errors can happen with concatenated MP3s with different formats. --- doc/examples/filtering_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c index 21b00fbd0c..45d5c64847 100644 --- a/doc/examples/filtering_audio.c +++ b/doc/examples/filtering_audio.c @@ -199,7 +199,7 @@ int main(int argc, char **argv) av_free_packet(&packet); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Error decoding audio\n"); - break; + continue; } if (got_frame) {