Browse Source

examples/filtering_audio: do not stop on decode error.

Decode errors can happen with concatenated MP3s
with different formats.
tags/n0.11
Nicolas George 13 years ago
parent
commit
a0a0199da3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/examples/filtering_audio.c

+ 1
- 1
doc/examples/filtering_audio.c View File

@@ -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) {


Loading…
Cancel
Save