Browse Source

avutil/hwcontext: correctly set extended_data on hwframe_get_buffer

tags/n4.3
Timo Rothenpieler 6 years ago
parent
commit
b06ae06e6a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavutil/hwcontext.c

+ 2
- 0
libavutil/hwcontext.c View File

@@ -557,6 +557,8 @@ int av_hwframe_get_buffer(AVBufferRef *hwframe_ref, AVFrame *frame, int flags)
return ret;
}

frame->extended_data = frame->data;

return 0;
}



Loading…
Cancel
Save