]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libschroedinger.c
omx: Use the EOS flag to handle flushing at the end
[ffmpeg] / libavcodec / libschroedinger.c
index 16e0fe89b97098c7e1de49ca6cd29fef98ebd359..af3000f3716709de59e27013b30ff25ddfb32fa8 100644 (file)
@@ -200,7 +200,7 @@ SchroFrame *ff_create_schro_frame(AVCodecContext *avctx,
     p_frame->format = schro_frame_fmt;
     p_frame->width  = y_width;
     p_frame->height = y_height;
-    schro_frame_set_free_callback(p_frame, free_schro_frame, (void *)p_pic);
+    schro_frame_set_free_callback(p_frame, free_schro_frame, p_pic);
 
     for (i = 0; i < 3; ++i) {
         p_frame->components[i].width  = i ? uv_width : y_width;