Use the AVFrame API to properly allocate and free frames for delayed release.
Attach a file by drag & drop or click to upload