[FFmpeg-cvslog] lavf/assenc: style nits
Rodger Combs
git at videolan.org
Sat Apr 4 13:47:23 CEST 2015
ffmpeg | branch: master | Rodger Combs <rodger.combs at gmail.com> | Sat Apr 4 05:31:21 2015 -0500| [f0c85d9b996695a8b5d34391caa9f2204de65a13] | committer: Michael Niedermayer
lavf/assenc: style nits
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f0c85d9b996695a8b5d34391caa9f2204de65a13
---
libavformat/assenc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/assenc.c b/libavformat/assenc.c
index 079991d..3fb9384 100644
--- a/libavformat/assenc.c
+++ b/libavformat/assenc.c
@@ -31,7 +31,7 @@ typedef struct DialogueLine {
struct DialogueLine *prev, *next;
} DialogueLine;
-typedef struct ASSContext{
+typedef struct ASSContext {
const AVClass *class;
int write_ts; // 0: ssa (timing in payload), 1: ass (matroska like)
int expected_readorder;
@@ -40,12 +40,12 @@ typedef struct ASSContext{
int cache_size;
int ssa_mode;
int ignore_readorder;
-}ASSContext;
+} ASSContext;
static int write_header(AVFormatContext *s)
{
ASSContext *ass = s->priv_data;
- AVCodecContext *avctx= s->streams[0]->codec;
+ AVCodecContext *avctx = s->streams[0]->codec;
if (s->nb_streams != 1 || (avctx->codec_id != AV_CODEC_ID_SSA &&
avctx->codec_id != AV_CODEC_ID_ASS)) {
More information about the ffmpeg-cvslog
mailing list