]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/crystalhd.c
avcodec: do not use AVFrame accessor
[ffmpeg] / libavcodec / crystalhd.c
index b1e5c64829cbe64292af818ebf81664f31055a19..8ccd6ff8bd5294c4625a24bdb83c9c5d547133ff 100644 (file)
@@ -634,9 +634,9 @@ FF_DISABLE_DEPRECATION_WARNINGS
 FF_ENABLE_DEPRECATION_WARNINGS
 #endif
     }
-    av_frame_set_pkt_pos(frame, -1);
-    av_frame_set_pkt_duration(frame, 0);
-    av_frame_set_pkt_size(frame, -1);
+    frame->pkt_pos = -1;
+    frame->pkt_duration = 0;
+    frame->pkt_size = -1;
 
     if (!priv->need_second_field) {
         *got_frame       = 1;