Avoids warning about discarding qualifiers in avcodec.c
Showing the changes to libavfilter/avfilter.h (1 of 2 files). Show all
Unified · Split
| @@ -674,7 +674,7 @@ AVFilterBufferRef *avfilter_get_video_buffer(AVFilterLink *link, int perms, · 673 unmodified lines | ||
| 674 | 674 | * @param format the pixel format of the image specified by the data and linesize arrays |
| 675 | 675 | */ |
| 676 | 676 | AVFilterBufferRef * |
| 677 | −avfilter_get_video_buffer_ref_from_arrays(uint8_t *data[4], int linesize[4], int perms, | |
| 677 | +avfilter_get_video_buffer_ref_from_arrays(uint8_t * const data[4], const int linesize[4], int perms, | |
| 678 | 678 | int w, int h, enum PixelFormat format); |
| 679 | 679 | |
| 680 | 680 | /** |