mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avformat/rpl: use avpriv_report_missing_feature/avpriv_request_sample
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
0f99aad80f
commit
42a8d8aee8
@ -168,9 +168,8 @@ static int rpl_read_header(AVFormatContext *s)
|
|||||||
vst->codec->codec_id = AV_CODEC_ID_ESCAPE130;
|
vst->codec->codec_id = AV_CODEC_ID_ESCAPE130;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
av_log(s, AV_LOG_WARNING,
|
avpriv_report_missing_feature(s, "Video format %i",
|
||||||
"RPL video format %i not supported yet!\n",
|
vst->codec->codec_tag);
|
||||||
vst->codec->codec_tag);
|
|
||||||
vst->codec->codec_id = AV_CODEC_ID_NONE;
|
vst->codec->codec_id = AV_CODEC_ID_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -220,11 +219,8 @@ static int rpl_read_header(AVFormatContext *s)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (ast->codec->codec_id == AV_CODEC_ID_NONE) {
|
if (ast->codec->codec_id == AV_CODEC_ID_NONE)
|
||||||
av_log(s, AV_LOG_WARNING,
|
avpriv_request_sample(s, "Audio format %i", audio_format);
|
||||||
"RPL audio format %i not supported yet!\n",
|
|
||||||
audio_format);
|
|
||||||
}
|
|
||||||
avpriv_set_pts_info(ast, 32, 1, ast->codec->bit_rate);
|
avpriv_set_pts_info(ast, 32, 1, ast->codec->bit_rate);
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < 3; i++)
|
for (i = 0; i < 3; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user