Robert O'Callahan wrote:
them. It's a bit tricky to remove them after the decoder. Could I just
Why? You can treat the return value exactly the same as a return value of 0. I.e., you can still call th_decode_ycbcr_out(), it will just return a buffer with the same contents as the last call.
I think all you need to do is delete the if (ret == TH_DUPFRAME) block of code in OggReader::DecodeTheora, just leaving the else (you can also remove the if (ret == 0) test... it was already redundant).
_______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

