summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-04-27 23:46:09 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-04-28 10:28:15 +0200
commita0a0199da3f9730f23f3f73f193991d05bf12d71 (patch)
treeafbe021fe18eecfbf22167aea3132049775c34a6 /doc/examples
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')
-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) {