# HG changeset patch # User diego # Date 1284243225 0 # Node ID 8c29dfec15c22d108bc2247015ab4044df0d9183 # Parent 2e56ec7a0a7f4bcfd3eaed24b9448e55f6edaffb cosmetics: Break some long lines. diff -r 2e56ec7a0a7f -r 8c29dfec15c2 av_sub.c --- a/av_sub.c Sat Sep 11 22:12:41 2010 +0000 +++ b/av_sub.c Sat Sep 11 22:13:45 2010 +0000 @@ -34,7 +34,8 @@ * Decode a subtitle packet via libavcodec. * \return < 0 on error, > 0 if further processing is needed */ -int decode_avsub(struct sh_sub *sh, uint8_t **data, int *size, double *pts, double *endpts) +int decode_avsub(struct sh_sub *sh, uint8_t **data, int *size, + double *pts, double *endpts) { AVCodecContext *ctx = sh->context; enum CodecID cid = CODEC_ID_NONE; @@ -66,7 +67,8 @@ ctx = avcodec_alloc_context(); sub_codec = avcodec_find_decoder(cid); if (!ctx || !sub_codec || avcodec_open(ctx, sub_codec) < 0) { - mp_msg(MSGT_SUBREADER, MSGL_FATAL, "Could not open subtitle decoder\n"); + mp_msg(MSGT_SUBREADER, MSGL_FATAL, + "Could not open subtitle decoder\n"); av_freep(&ctx); return -1; } diff -r 2e56ec7a0a7f -r 8c29dfec15c2 av_sub.h --- a/av_sub.h Sat Sep 11 22:12:41 2010 +0000 +++ b/av_sub.h Sat Sep 11 22:13:45 2010 +0000 @@ -24,6 +24,7 @@ struct sh_sub; void reset_avsub(struct sh_sub *sh); -int decode_avsub(struct sh_sub *sh, uint8_t **data, int *size, double *pts, double *endpts); +int decode_avsub(struct sh_sub *sh, uint8_t **data, int *size, + double *pts, double *endpts); #endif