mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-09 08:39:41 +00: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[];
|
||||
|
||||
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];
|
||||
int plane= comp.plane;
|
||||
|
Loading…
Reference in New Issue
Block a user