examples/filtering_audio: do not stop on decode error.
Decode errors can happen with concatenated MP3s with different formats.
This commit is contained in:
parent
8f19483d06
commit
a0a0199da3
@ -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…
x
Reference in New Issue
Block a user