[FFmpeg-cvslog] r18134 - trunk/libavformat/mov.c

Aurelien Jacobs aurel
Sun Mar 22 15:38:19 CET 2009


On Sun, Mar 22, 2009 at 12:29:34AM +0100, bcoudurier wrote:
> Author: bcoudurier
> Date: Sun Mar 22 00:29:34 2009
> New Revision: 18134
> 
> Log:
> reset codec width/height for h264 forcing decoder to parse extradata
> 
> Modified:
>    trunk/libavformat/mov.c
> 
> Modified: trunk/libavformat/mov.c
> ==============================================================================
> --- trunk/libavformat/mov.c	Sun Mar 22 00:08:20 2009	(r18133)
> +++ trunk/libavformat/mov.c	Sun Mar 22 00:29:34 2009	(r18134)
> @@ -1440,6 +1440,9 @@ static int mov_read_trak(MOVContext *c, 
>  #if CONFIG_H263_DECODER
>      case CODEC_ID_H263:
>  #endif
> +#if CONFIG_H264_DECODER
> +    case CODEC_ID_H264:
> +#endif
>  #if CONFIG_MPEG4_DECODER
>      case CODEC_ID_MPEG4:
>  #endif

All the #if look strange here. Is there really any reason why the lavf
mov demuxer should behave differently depending on whether a h264 decoder
is compiled in lavc or not.

Aurel



More information about the ffmpeg-cvslog mailing list