mirror of https://git.ffmpeg.org/ffmpeg.git
Merge remote-tracking branch 'qatar/master'
* qatar/master: avframe: have av_frame_get_side_data take const AVFrame* Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
9408d990c4
|
@ -562,7 +562,7 @@ AVFrameSideData *av_frame_new_side_data(AVFrame *frame,
|
|||
return ret;
|
||||
}
|
||||
|
||||
AVFrameSideData *av_frame_get_side_data(AVFrame *frame,
|
||||
AVFrameSideData *av_frame_get_side_data(const AVFrame *frame,
|
||||
enum AVFrameSideDataType type)
|
||||
{
|
||||
int i;
|
||||
|
|
|
@ -644,7 +644,7 @@ AVFrameSideData *av_frame_new_side_data(AVFrame *frame,
|
|||
* @return a pointer to the side data of a given type on success, NULL if there
|
||||
* is no side data with such type in this frame.
|
||||
*/
|
||||
AVFrameSideData *av_frame_get_side_data(AVFrame *frame,
|
||||
AVFrameSideData *av_frame_get_side_data(const AVFrame *frame,
|
||||
enum AVFrameSideDataType type);
|
||||
|
||||
#endif /* AVUTIL_FRAME_H */
|
||||
|
|
Loading…
Reference in New Issue