avio: cosmetics, vertically align comments.

oldabi
Anton Khirnov 14 years ago
parent 72d4405b66
commit 893816ba1e
  1. 10
      libavformat/avio.h

@ -50,10 +50,10 @@ typedef struct {
int (*read_packet)(void *opaque, uint8_t *buf, int buf_size); int (*read_packet)(void *opaque, uint8_t *buf, int buf_size);
int (*write_packet)(void *opaque, uint8_t *buf, int buf_size); int (*write_packet)(void *opaque, uint8_t *buf, int buf_size);
int64_t (*seek)(void *opaque, int64_t offset, int whence); int64_t (*seek)(void *opaque, int64_t offset, int whence);
int64_t pos; /**< position in the file of the current buffer */ int64_t pos; /**< position in the file of the current buffer */
int must_flush; /**< true if the next seek should flush */ int must_flush; /**< true if the next seek should flush */
int eof_reached; /**< true if eof reached */ int eof_reached; /**< true if eof reached */
int write_flag; /**< true if open for writing */ int write_flag; /**< true if open for writing */
#if FF_API_OLD_AVIO #if FF_API_OLD_AVIO
attribute_deprecated int is_streamed; attribute_deprecated int is_streamed;
#endif #endif
@ -61,7 +61,7 @@ typedef struct {
unsigned long checksum; unsigned long checksum;
unsigned char *checksum_ptr; unsigned char *checksum_ptr;
unsigned long (*update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size); unsigned long (*update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size);
int error; ///< contains the error code or 0 if no error happened int error; /**< contains the error code or 0 if no error happened */
int (*read_pause)(void *opaque, int pause); int (*read_pause)(void *opaque, int pause);
int64_t (*read_seek)(void *opaque, int stream_index, int64_t (*read_seek)(void *opaque, int stream_index,
int64_t timestamp, int flags); int64_t timestamp, int flags);

Loading…
Cancel
Save