Unified · Split
| @@ -531,7 +531,7 @@ FF_DISABLE_DEPRECATION_WARNINGS · 530 unmodified lines | ||
| 531 | 531 | FF_ENABLE_DEPRECATION_WARNINGS |
| 532 | 532 | #endif |
| 533 | 533 | if ((ret = av_channel_layout_copy(&frame->ch_layout, &outlink->ch_layout)) < 0) |
| 534 | − return ret; | |
| 534 | + goto fail; | |
| 535 | 535 | frame->sample_rate = outlink->sample_rate; |
| 536 | 536 | frame->format = outlink->format; |
| 537 | 537 | frame->pts = s->input_frames[0]->pts; |