[MPlayer-cvslog] r32164 - in trunk: av_sub.c av_sub.h
diego
subversion at mplayerhq.hu
Sun Sep 12 00:13:45 CEST 2010
Author: diego
Date: Sun Sep 12 00:13:45 2010
New Revision: 32164
Log:
cosmetics: Break some long lines.
Modified:
trunk/av_sub.c
trunk/av_sub.h
Modified: trunk/av_sub.c
==============================================================================
--- trunk/av_sub.c Sun Sep 12 00:12:41 2010 (r32163)
+++ trunk/av_sub.c Sun Sep 12 00:13:45 2010 (r32164)
@@ -34,7 +34,8 @@ void reset_avsub(struct sh_sub *sh)
* 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 @@ int decode_avsub(struct sh_sub *sh, uint
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;
}
Modified: trunk/av_sub.h
==============================================================================
--- trunk/av_sub.h Sun Sep 12 00:12:41 2010 (r32163)
+++ trunk/av_sub.h Sun Sep 12 00:13:45 2010 (r32164)
@@ -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
More information about the MPlayer-cvslog
mailing list