comparison img2.c @ 3431:3fe66e65fdff libavformat

Remove useless img_read_close().
author ramiro
date Fri, 06 Jun 2008 17:02:06 +0000
parents 08987e520651
children 93d4898d9b6e
comparison
equal deleted inserted replaced
3430:08987e520651 3431:3fe66e65fdff
301 s->img_number++; 301 s->img_number++;
302 return 0; 302 return 0;
303 } 303 }
304 } 304 }
305 305
306 static int img_read_close(AVFormatContext *s1)
307 {
308 return 0;
309 }
310
311 #ifdef CONFIG_MUXERS 306 #ifdef CONFIG_MUXERS
312 /******************************************************/ 307 /******************************************************/
313 /* image output */ 308 /* image output */
314 309
315 static int img_write_header(AVFormatContext *s) 310 static int img_write_header(AVFormatContext *s)
382 NULL_IF_CONFIG_SMALL("image2 sequence"), 377 NULL_IF_CONFIG_SMALL("image2 sequence"),
383 sizeof(VideoData), 378 sizeof(VideoData),
384 image_probe, 379 image_probe,
385 img_read_header, 380 img_read_header,
386 img_read_packet, 381 img_read_packet,
387 img_read_close, 382 NULL,
388 NULL, 383 NULL,
389 NULL, 384 NULL,
390 AVFMT_NOFILE, 385 AVFMT_NOFILE,
391 }; 386 };
392 #endif 387 #endif
396 NULL_IF_CONFIG_SMALL("piped image2 sequence"), 391 NULL_IF_CONFIG_SMALL("piped image2 sequence"),
397 sizeof(VideoData), 392 sizeof(VideoData),
398 NULL, /* no probe */ 393 NULL, /* no probe */
399 img_read_header, 394 img_read_header,
400 img_read_packet, 395 img_read_packet,
401 img_read_close,
402 }; 396 };
403 #endif 397 #endif
404 398
405 /* output */ 399 /* output */
406 #ifdef CONFIG_IMAGE2_MUXER 400 #ifdef CONFIG_IMAGE2_MUXER