lavc/ccaption_dec: remove usage of avctx->time_base
authorClément Bœsch <u@pkh.me>
Mon, 28 Mar 2016 12:10:08 +0000 (14:10 +0200)
committerClément Bœsch <u@pkh.me>
Sat, 2 Apr 2016 17:03:06 +0000 (19:03 +0200)
commitd8620158c7ec9d571b70a54115af8fdaf4d765e5
tree58c8b91b7268a990af7732d8e7bd63220f8e8c2e
parente8a9b644107a16473a6f8d9ae5a02b8444e3796e
lavc/ccaption_dec: remove usage of avctx->time_base

lavc/utils already rescales avpkt->pts to sub->pts in AV_TIME_BASE_Q
before calling the decode callback. This prevents from rescaling again
into the decoder, and avoid the use of avctx->time_base which will
disappear in the incoming codecpar merge.

This commit also replaces the use of "20 centisecond" (ass time base)
with "200 ms".
libavcodec/ccaption_dec.c