[FFmpeg-devel] [PATCH] reindent after r19622

Aurelien Jacobs aurel
Thu Jul 1 17:08:44 CEST 2010


On Thu, Jun 24, 2010 at 12:01:23PM +0200, Rafa?l Carr? wrote:
> ---
>  libavformat/matroskadec.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
> index 69c81b0..8d7cf6c 100644
> --- a/libavformat/matroskadec.c
> +++ b/libavformat/matroskadec.c
> @@ -1423,7 +1423,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
>                        st->codec-> width * track->video.display_height,
>                        255);
>              if (st->codec->codec_id != CODEC_ID_H264)
> -            st->need_parsing = AVSTREAM_PARSE_HEADERS;
> +                st->need_parsing = AVSTREAM_PARSE_HEADERS;

I didn't reindent after adding the if() because it's supposed to be a
temporary hack. Parsing h264 streams is desirable but it currently don't
work well.
So the proper fix is to remove the if() (and thus, to improve the h264
parser first).

Aurel



More information about the ffmpeg-devel mailing list