mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
Make read_line() take as parameter a const AVPixFmtDescriptor * rather than a
(non const) AVPixFmtDescriptor *. Originally committed as revision 18275 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e7f98e4e94
commit
30266c9286
@ -72,7 +72,7 @@ typedef struct AVPixFmtDescriptor{
|
|||||||
*/
|
*/
|
||||||
extern const AVPixFmtDescriptor av_pix_fmt_descriptors[];
|
extern const AVPixFmtDescriptor av_pix_fmt_descriptors[];
|
||||||
|
|
||||||
static inline void read_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w)
|
static inline void read_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4], const AVPixFmtDescriptor *desc, int x, int y, int c, int w)
|
||||||
{
|
{
|
||||||
AVComponentDescriptor comp= desc->comp[c];
|
AVComponentDescriptor comp= desc->comp[c];
|
||||||
int plane= comp.plane;
|
int plane= comp.plane;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user