|
|
|
@ -891,7 +891,7 @@ static int do_packet_auto_bsf(AVFormatContext *s, AVPacket *pkt) { |
|
|
|
|
// flush each stream's BSF chain on write_trailer.
|
|
|
|
|
if ((ret = av_bsf_send_packet(ctx, pkt)) < 0) { |
|
|
|
|
av_log(ctx, AV_LOG_ERROR, |
|
|
|
|
"Failed to send packet to filter %s for stream %d", |
|
|
|
|
"Failed to send packet to filter %s for stream %d\n", |
|
|
|
|
ctx->filter->name, pkt->stream_index); |
|
|
|
|
return ret; |
|
|
|
|
} |
|
|
|
@ -902,7 +902,7 @@ static int do_packet_auto_bsf(AVFormatContext *s, AVPacket *pkt) { |
|
|
|
|
if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF) |
|
|
|
|
return 0; |
|
|
|
|
av_log(ctx, AV_LOG_ERROR, |
|
|
|
|
"Failed to send packet to filter %s for stream %d", |
|
|
|
|
"Failed to send packet to filter %s for stream %d\n", |
|
|
|
|
ctx->filter->name, pkt->stream_index); |
|
|
|
|
return ret; |
|
|
|
|
} |
|
|
|
|