]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rawdec.c
Merge commit '15a29c39d9ef15b0783c04b3228e1c55f6701ee3'
[ffmpeg] / libavcodec / rawdec.c
index 007674ec38bdef9874d208a4205913661d3e835f..85a69e91a5ac14306a3a9e1274adfeed5f76090a 100644 (file)
@@ -209,8 +209,11 @@ static int raw_decode(AVCodecContext *avctx, void *data, int *got_frame,
 
     frame->pict_type        = AV_PICTURE_TYPE_I;
     frame->key_frame        = 1;
-    frame->reordered_opaque = avctx->reordered_opaque;
-    frame->pkt_pts          = avctx->internal->pkt->pts;
+
+    res = ff_decode_frame_props(avctx, frame);
+    if (res < 0)
+        return res;
+
     av_frame_set_pkt_pos     (frame, avctx->internal->pkt->pos);
     av_frame_set_pkt_duration(frame, avctx->internal->pkt->duration);