mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
lavf/utils: fix typo in has_codec_parameters
Replace "unspecified sample size" with "unspecified frame size". +10l.
This commit is contained in:
parent
d74af89317
commit
25f139e72f
@ -2301,7 +2301,7 @@ static int has_codec_parameters(AVStream *st, const char **errmsg_ptr)
|
||||
switch (avctx->codec_type) {
|
||||
case AVMEDIA_TYPE_AUDIO:
|
||||
if (!avctx->frame_size && determinable_frame_size(avctx))
|
||||
FAIL("unspecified sample size");
|
||||
FAIL("unspecified frame size");
|
||||
if (st->info->found_decoder >= 0 && avctx->sample_fmt == AV_SAMPLE_FMT_NONE)
|
||||
FAIL("unspecified sample format");
|
||||
if (!avctx->sample_rate)
|
||||
|
Loading…
Reference in New Issue
Block a user