Changeset 3630


Ignore:
Timestamp:
Aug 5, 2009, 4:37:02 PM (11 years ago)
Author:
Sam Hocevar
Message:

Mark pipi_open_sequence's first argument as const.

Location:
libpipi/trunk/pipi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/pipi.h

    r3627 r3630  
    238238__extern int pipi_render_histogram(pipi_image_t *, pipi_histogram_t*, int);
    239239
    240 __extern pipi_sequence_t *pipi_open_sequence(char *, int, int, int);
     240__extern pipi_sequence_t *pipi_open_sequence(char const *, int, int, int);
    241241__extern int pipi_feed_sequence(pipi_sequence_t *, uint8_t *, int, int);
    242242__extern int pipi_close_sequence(pipi_sequence_t *);
  • libpipi/trunk/pipi/sequence.c

    r3627 r3630  
    5959#define BITRATE (16 * 1024 * 1024)
    6060
    61 pipi_sequence_t *pipi_open_sequence(char *file, int width, int height, int fps)
     61pipi_sequence_t *pipi_open_sequence(char const *file,
     62                                    int width, int height, int fps)
    6263{
    6364#if defined USE_FFMPEG
Note: See TracChangeset for help on using the changeset viewer.