[FFmpeg-devel] [PATCH] lavf/mov: skip version and flags attributes in mov_read_chan function
Matthieu Bouron
matthieu.bouron at gmail.com
Wed Feb 6 08:10:26 CET 2013
On Mon, Feb 04, 2013 at 10:06:11PM +0100, Matthieu Bouron wrote:
> Fixes ticket #1764.
> ---
>
> Hello,
>
> This patch fixes a regression introduced by commit 3bab7cd (ticket #1764).
>
> Regards,
> Matthieu
>
> ---
> libavformat/mov.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index 7f7c0e1..52c2503 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/mov.c
> @@ -696,6 +696,9 @@ static int mov_read_chan(MOVContext *c, AVIOContext *pb, MOVAtom atom)
> if (atom.size < 16)
> return 0;
>
> + /* skip version and flags */
> + avio_skip(pb, 4);
> +
> ff_mov_read_chan(c->fc, pb, st, atom.size - 4);
>
> return 0;
Ping
More information about the ffmpeg-devel
mailing list