[FFmpeg-soc] [soc]: r5205 - concat/libavformat/pls.c
gkovacs
subversion at mplayerhq.hu
Thu Aug 20 17:49:01 CEST 2009
Author: gkovacs
Date: Thu Aug 20 17:49:01 2009
New Revision: 5205
Log:
fix handling of empty pls playlist
Modified:
concat/libavformat/pls.c
Modified: concat/libavformat/pls.c
==============================================================================
--- concat/libavformat/pls.c Thu Aug 20 17:47:33 2009 (r5204)
+++ concat/libavformat/pls.c Thu Aug 20 17:49:01 2009 (r5205)
@@ -85,11 +85,11 @@ static int pls_list_files(ByteIOContext
}
}
}
+ *flist_ptr = flist;
+ *len_ptr = j;
if (!flist) // no files have been found
return AVERROR_EOF;
flist[j] = 0;
- *flist_ptr = flist;
- *len_ptr = j;
return 0;
}
More information about the FFmpeg-soc
mailing list