Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-04-28 01:46:09 +0400
committerNicolas George <nicolas.george@normalesup.org>2012-04-28 12:28:15 +0400
commita0a0199da3f9730f23f3f73f193991d05bf12d71 (patch)
treeafbe021fe18eecfbf22167aea3132049775c34a6 /doc/examples/filtering_audio.c
parent8f19483d0652b43c7c2ff6b973843e4d0b769a5f (diff)
examples/filtering_audio: do not stop on decode error.
Decode errors can happen with concatenated MP3s with different formats.
Diffstat (limited to 'doc/examples/filtering_audio.c')
-rw-r--r--doc/examples/filtering_audio.c2
1 files changed, 1 insertions, 1 deletions
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) {