hap: Move some per-stream setup into decoder init rather than per-frame
authorTom Butterworth <bangnoise@gmail.com>
Thu, 23 Jul 2015 18:37:08 +0000 (14:37 -0400)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 27 Jul 2015 14:53:03 +0000 (15:53 +0100)
commit43dd004747fa697396b47d034a80e069facbea09
treebf98427c0895faca8336a478bc3569ed2fc30cc6
parentb94ec30428b9696f99b08055735689623fe63954
hap: Move some per-stream setup into decoder init rather than per-frame

This change will reject frames with a texture type which does not match
the stream description.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/hapdec.c