On 22/11/2016 14:36, Anton Khirnov wrote: > Currently, the new decoding API is pretty much just a wrapper around > the old deprecated one. This is problematic, since it interferes with > making full use of the flexibility added by the new API. The old API > should also be removed at some future point. > > Reorganize the code so that the new send_packet/receive_frame > functions call the actual decoding directly and change the old > deprecated avcodec_decode_* functions into wrappers around the new > API. > > avcodec will now always make a reference to the input packet, which > means that non-refcounted input packets will be copied. Keeping the > previous behaviour, where this copy could sometimes be avoided, would > make the code significantly more complex and fragile for only dubious > gains, since packets are typically small and everyone who cares > about performance should use refcounted packets anyway.
I can live with that. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
