History

Add const to avfilter_get_video_buffer_ref_from_arrays arguments.

Avoids warning about discarding qualifiers in avcodec.c

Reimar Döffinger committed 15 years ago

Commit 612d0781 parent e844abc2 files · +2 −2Browse files

Showing the changes to libavfilter/avfilter.h (1 of 2 files). Show all

Unified · Split

libavfilter/avfilter.h+1−1
@@ -674,7 +674,7 @@ AVFilterBufferRef *avfilter_get_video_buffer(AVFilterLink *link, int perms, · 673 unmodified lines
674 * @param format the pixel format of the image specified by the data and linesize arrays674 * @param format the pixel format of the image specified by the data and linesize arrays
675 */675 */
676AVFilterBufferRef *676AVFilterBufferRef *
677avfilter_get_video_buffer_ref_from_arrays(uint8_t *data[4], int linesize[4], int perms,677avfilter_get_video_buffer_ref_from_arrays(uint8_t * const data[4], const int linesize[4], int perms,
678 int w, int h, enum PixelFormat format);678 int w, int h, enum PixelFormat format);
679 679
680/**680/**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t