wavdec: Only set the codec ID in read_header
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sat, 2 Apr 2016 21:43:17 +0000 (22:43 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 2 Apr 2016 23:55:57 +0000 (01:55 +0200)
commitfcbdc44f4e0c425506d627e16a12a7031dec398d
tree89cab3a148b441a153fb1b21591be88ef4763b2a
parentde0bcea664c8ac59c524164c98b437d9935f7b52
wavdec: Only set the codec ID in read_header

WAV is not a NOHEADER format, and thus should not be changing
stream codec IDs and probing in read_packet.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/wavdec.c