On Feb 25, 2013, at 4:37 AM, René J.V. Bertin <[email protected]> wrote:
> As to the cast - I suppose Brad put it there just to get rid of a compiler > warning (or error, if he's using c++). Of course it shouldn't be doing > anything else. This is exactly right. There is a compiler warning if you don't include the cast, presumably because the parameter declaration includes "const". There's no type difference at all and the cast should really be doing anything but satisfying the compiler, as the variable in question, sourceData, is declared as a uint8_t *. Brad _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
