Mercurial > libavformat.hg
comparison mpeg.c @ 3484:31a0f3b99ef7 libavformat
remove useless close funcs
author | bcoudurier |
---|---|
date | Thu, 19 Jun 2008 23:25:04 +0000 |
parents | 7a0230981402 |
children | 270e9f324405 |
comparison
equal
deleted
inserted
replaced
3483:e85a3d8478c1 | 3484:31a0f3b99ef7 |
---|---|
540 #endif | 540 #endif |
541 | 541 |
542 return 0; | 542 return 0; |
543 } | 543 } |
544 | 544 |
545 static int mpegps_read_close(AVFormatContext *s) | |
546 { | |
547 return 0; | |
548 } | |
549 | |
550 static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index, | 545 static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index, |
551 int64_t *ppos, int64_t pos_limit) | 546 int64_t *ppos, int64_t pos_limit) |
552 { | 547 { |
553 int len, startcode; | 548 int len, startcode; |
554 int64_t pos, pts, dts; | 549 int64_t pos, pts, dts; |
586 NULL_IF_CONFIG_SMALL("MPEG-PS format"), | 581 NULL_IF_CONFIG_SMALL("MPEG-PS format"), |
587 sizeof(MpegDemuxContext), | 582 sizeof(MpegDemuxContext), |
588 mpegps_probe, | 583 mpegps_probe, |
589 mpegps_read_header, | 584 mpegps_read_header, |
590 mpegps_read_packet, | 585 mpegps_read_packet, |
591 mpegps_read_close, | 586 NULL, |
592 NULL, //mpegps_read_seek, | 587 NULL, //mpegps_read_seek, |
593 mpegps_read_dts, | 588 mpegps_read_dts, |
594 .flags = AVFMT_SHOW_IDS, | 589 .flags = AVFMT_SHOW_IDS, |
595 }; | 590 }; |