[FFmpeg-devel] avcodec_check_frame_for_corruption?

Andreas Öman andreas
Wed Mar 26 22:17:38 CET 2008


Michael Niedermayer wrote:
> 
> audio should be changed to use AVFrame as well

Yes.

Perhaps we could use the same API for video/audio/subtitle/.*
decoding.

avcodec_decode(ctx, &pkt, &frame);

PTS/DTS is forwarded from pkt to frame (as discussed in another thread)
optionally we could pass an opaque as well.

same goes for the encode() equivalence.




More information about the ffmpeg-devel mailing list