Mercurial > mplayer.hg
diff mencoder.c @ 31871:c3775dbb8509
Simplify code: allow file_format argument to open_stream to be NULL.
author | reimar |
---|---|
date | Tue, 10 Aug 2010 13:23:04 +0000 |
parents | 55dacfca4a43 |
children | e30fe0cb79cd |
line wrap: on
line diff
--- a/mencoder.c Tue Aug 10 00:36:53 2010 +0000 +++ b/mencoder.c Tue Aug 10 13:23:04 2010 +0000 @@ -643,7 +643,7 @@ if (frameno_filename) { - stream2=open_stream(frameno_filename,0,&i); + stream2=open_stream(frameno_filename, NULL, NULL); if(stream2){ demuxer2=demux_open(stream2,DEMUXER_TYPE_AVI,-1,-1,-2,NULL); if(demuxer2) mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_UsingPass3ControlFile, frameno_filename);