mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-09 01:21:06 +00:00
avcodec/bsf/dts2pts: fix return 0 on error path
This commit is contained in:
@@ -261,6 +261,7 @@ static int h264_filter(AVBSFContext *ctx)
|
||||
|
||||
if (!sps) {
|
||||
av_log(ctx, AV_LOG_ERROR, "No active SPS for a slice\n");
|
||||
ret = AVERROR_INVALIDDATA;
|
||||
goto fail;
|
||||
}
|
||||
// Initialize the SPS struct with the fields ff_h264_init_poc() cares about
|
||||
|
||||
Reference in New Issue
Block a user