lavf/utils: fix typo in has_codec_parameters

Replace "unspecified sample size" with "unspecified frame size". +10l.
pull/28/head
Stefano Sabatini 13 years ago
parent d74af89317
commit 25f139e72f
  1. 2
      libavformat/utils.c

@ -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…
Cancel
Save