Ticket #123: AviImporter 2.patch
| File AviImporter 2.patch, 1.1 KB (added by Ritsuka, 3 years ago) |
|---|
-
ff_MovieImport.c
325 325 326 326 OSType fourcc = get_avi_strf_fourcc(&byteContext); 327 327 328 if (codec_get_bmp_id(BSWAP(fourcc)) == CODEC_ID_MJPEG || 329 codec_get_bmp_id(BSWAP(fourcc)) == CODEC_ID_DVVIDEO) 328 enum CodecID id = codec_get_id(codec_bmp_tags,BSWAP(fourcc)); 329 330 if (id == CODEC_ID_MJPEG || 331 id == CODEC_ID_DVVIDEO || 332 id == CODEC_ID_NONE) 330 333 *valid = 0; 331 334 332 335 url_fclose(&byteContext); … … 404 407 405 408 /* Get the Stream Infos if not already read */ 406 409 result = av_find_stream_info(ic); 407 if(result < 0)408 goto bail;410 //if(result < 0) 411 // goto bail; 409 412 410 413 // we couldn't find any streams, bail with an error. 411 414 if(ic->nb_streams == 0) {
