mpegvideo: synchronize AVFrame pointers in ERContext fully