[Ffmpeg-cvslog] r6771 - trunk/libavformat/swf.c
aurel
subversion
Mon Oct 23 01:23:56 CEST 2006
Author: aurel
Date: Mon Oct 23 01:23:55 2006
New Revision: 6771
Modified:
trunk/libavformat/swf.c
Log:
don't use ast before checking it's not NULL
Modified: trunk/libavformat/swf.c
==============================================================================
--- trunk/libavformat/swf.c (original)
+++ trunk/libavformat/swf.c Mon Oct 23 01:23:55 2006
@@ -829,9 +829,9 @@
get_le16(pb);
}
ast = av_new_stream(s, 1);
- av_set_pts_info(ast, 24, 1, 1000); /* 24 bit pts in ms */
if (!ast)
return -ENOMEM;
+ av_set_pts_info(ast, 24, 1, 1000); /* 24 bit pts in ms */
if (v & 0x01)
ast->codec->channels = 2;
More information about the ffmpeg-cvslog
mailing list