h264: Early-exit condition for await_references()
authorAlexander Strange <astrange@ithinksw.com>
Sun, 16 Jan 2011 07:18:12 +0000 (02:18 -0500)
committerAlexander Strange <astrange@ithinksw.com>
Sun, 16 Jan 2011 07:25:39 +0000 (02:25 -0500)
commit00bbca77f3fe0960cbf0986ea214ce022204837c
treeb22f788887edbf131d10ae44135bf234eaab937c
parentc5137d0d9e355aecc7e60cef0d2314468b77a147
h264: Early-exit condition for await_references()

Saves even more zero checking in refs[][], although it still leaves many
useless checks when nrefs[i]>1, because the array indexes are scattered.

About ~.8% faster decoding.
libavcodec/h264.c