aiffdec: do not set AVCodecContext.frame_size
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 27 Feb 2012 03:55:52 +0000 (22:55 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 5 Mar 2012 18:08:17 +0000 (13:08 -0500)
commit8d1a20aa7c7326c49c0ebaa6f95289a6c3cd4695
tree087eb9497d7a30f445e30de169f8c68441b0e15f
parent237a855cafb6e0ee304e2d63a605d47d5258219f
aiffdec: do not set AVCodecContext.frame_size

It is unnecessary. Also, for some codecs we're reading more than 1 frame per
packet. Instead we use a private context variable to calculate the bit rate,
stream duration, and packet durations.

Updated FATE seek test, which has slightly different timestamps due to a
more accurate bit rate calculation.
libavformat/aiffdec.c
tests/ref/seek/adpcm_qt_aiff