[FFmpeg-cvslog] lavf/utils: fix typo in has_codec_parameters

Stefano Sabatini git at videolan.org
Fri Sep 7 14:33:24 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri Sep  7 14:27:47 2012 +0200| [25f139e72fd8d1dda7ae80c1faef136d3bf48738] | committer: Stefano Sabatini

lavf/utils: fix typo in has_codec_parameters

Replace "unspecified sample size" with "unspecified frame size". +10l.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=25f139e72fd8d1dda7ae80c1faef136d3bf48738
---

 libavformat/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 5b7618f..1988fbd 100644
--- a/libavformat/utils.c
+++ b/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)



More information about the ffmpeg-cvslog mailing list