Remove some FFmpeg-related warnings by directly accessing AVFrame.