mirror of https://github.com/mpv-player/mpv
7100a10127
We mixed the "old" AVFrame management functions (avcodec_alloc_frame, avcodec_free_frame) with reference counting. This doesn't work correctly; you must use av_frame_alloc and av_frame_free. Of course ffmpeg doesn't warn us about the bad usage, but will just mess up things silently. (Thanks a lot...) While the alloc function seems to be 100% compatible, the free function will do bad things, such as freeing memory that might still be referenced by another frame. I didn't experience any actual bugs, but maybe that was pure luck. |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
lavc.h | ||
lavc_dr1.c | ||
vaapi.c | ||
vd.c | ||
vd.h | ||
vd_lavc.c | ||
vda.c | ||
vdpau.c | ||
vdpau_old.c |