OSDN Git Service

flvdec: Don't read the VP6 header byte when setting codec type based on metadata
authorMartin Storsjö <martin@martin.st>
Fri, 1 Mar 2013 14:30:44 +0000 (16:30 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 1 Mar 2013 22:39:36 +0000 (00:39 +0200)
commitc91c63b5380bf79655c09320774a022f84d76fd5
tree78080070f14197ed42e71021a2c50499105f4bc0
parent0b311293891e44b8cb7c0a1f50f456ecd2e5d0d8
flvdec: Don't read the VP6 header byte when setting codec type based on metadata

This header byte is only present when actually reading a VP6 frame,
not when reading the codec type field in the metadata. This
potential bug has been present since 5b54a90c.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/flvdec.c