summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* allocate palette in codec directlyBaptiste Coudurier2009-03-15
| | | | Originally committed as revision 17976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics, add some whitespaces and empty linesBaptiste Coudurier2009-03-15
| | | | Originally committed as revision 17975 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not modify sample_count, check against index entriesBaptiste Coudurier2009-03-15
| | | | Originally committed as revision 17972 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use utc time for timestamp and do not set it if not specifiedBaptiste Coudurier2009-03-14
| | | | Originally committed as revision 17971 to svn://svn.ffmpeg.org/ffmpeg/trunk
* swf timestamps are 16 bitsBaptiste Coudurier2009-03-14
| | | | Originally committed as revision 17969 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unused fields in swf contextBaptiste Coudurier2009-03-14
| | | | Originally committed as revision 17968 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not parse timestamp if bitexact is set, should fix regression testsBaptiste Coudurier2009-03-14
| | | | Originally committed as revision 17967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enable generic index creation and seeking for NUV demuxer.Reimar Döffinger2009-03-14
| | | | Originally committed as revision 17966 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVFMT_GENERIC_INDEX support also for formats that do not use a parser.Reimar Döffinger2009-03-14
| | | | Originally committed as revision 17965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make pcm_read_seek treat negative time stamps as 0, this avoids incorrectlyReimar Döffinger2009-03-14
| | | | | | | seeking before data_offset and is more consistent with how the generic index seeking code handles it. Originally committed as revision 17964 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not lose user flags when passing calls from the new to the old seeking API.Michael Niedermayer2009-03-14
| | | | Originally committed as revision 17959 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add avformat_seek_file()Michael Niedermayer2009-03-14
| | | | Originally committed as revision 17956 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set pkt->pos correctly (to the start of header of the packet) in swfdec.Reimar Döffinger2009-03-13
| | | | Originally committed as revision 17953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix swf seeking by fixing new stream detectionBaptiste Coudurier2009-03-13
| | | | Originally committed as revision 17952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify RoQ demuxer pts calculation by using a appropriate time bases.Reimar Döffinger2009-03-13
| | | | Originally committed as revision 17946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set video width/height and create audio stream in read_packet instead ofReimar Döffinger2009-03-12
| | | | | | | | pre-parsing the file in read_header. This avoids some code duplication and seeking, and also avoids an IO error for small video-only files (as created during e.g. the FATE encoder test). Originally committed as revision 17945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reindentBaptiste Coudurier2009-03-11
| | | | Originally committed as revision 17940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* keep original tag when stream copying subs with ipod formatBaptiste Coudurier2009-03-11
| | | | Originally committed as revision 17939 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ipod supports both subs tagsBaptiste Coudurier2009-03-11
| | | | Originally committed as revision 17938 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reindentBaptiste Coudurier2009-03-11
| | | | Originally committed as revision 17937 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write correct atoms based on tag and not format, fixes subs stream copyBaptiste Coudurier2009-03-11
| | | | Originally committed as revision 17936 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use correct codec tag list for ipod formatBaptiste Coudurier2009-03-11
| | | | Originally committed as revision 17935 to svn://svn.ffmpeg.org/ffmpeg/trunk
* again 10l, typo, put_byte instead of put_bufferBaptiste Coudurier2009-03-11
| | | | Originally committed as revision 17933 to svn://svn.ffmpeg.org/ffmpeg/trunk
* attempt to try to generate an random umidBaptiste Coudurier2009-03-11
| | | | Originally committed as revision 17932 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix subs track height, set track->height to codec height if not setBaptiste Coudurier2009-03-11
| | | | Originally committed as revision 17929 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sn40 avi fourcc decodes with ffodivxBen Littler2009-03-11
| | | | Originally committed as revision 17928 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correctly skip complete INDX chunks, i.e. read the 32-bit header correctlyRonald S. Bultje2009-03-10
| | | | | | | | and if the size is broken (20 bytes, header-only), calculate the expected size and skip the index entries anyway. See "[PATCH] rmdec.c: correctly skip indexes" thread. Originally committed as revision 17924 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent (negative) overflow of rm->remaining_len. This evaluation really onlyRonald S. Bultje2009-03-09
| | | | | | | | | | | has two possible outcomes: either len and rm->remaining_len are the same, in which case we care about the outcome and it is zero, or rm->remaining_len is currently not in use and we don't care about the outcome. In that case, len is positive and rm->remaining_len is zero, which leads to a negative result. This is confusing and could eventually lead to a sign-flip if we skip a lot of packets (unlikely, but still). Therefore, just always set it to zero. Originally committed as revision 17919 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert to r17908.Ronald S. Bultje2009-03-09
| | | | Originally committed as revision 17918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move MOVContext and related structures from mov.c to isom.h. See "[PATCH]Ronald S. Bultje2009-03-09
| | | | | | move MOVContext from mov.c to isom.h" thread on ML. Originally committed as revision 17915 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder arguments for av_fifo_generic_read to be more logical andReimar Döffinger2009-03-09
| | | | | | consistent with av_fifo_generic_write. Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent (negative) overflow of rm->remaining_len. This evaluation really onlyRonald S. Bultje2009-03-09
| | | | | | | | | | | has two possible outcomes: either len and rm->remaining_len are the same, in which case we care about the outcome and it is zero, or rm->remaining_len is currently not in use and we don't care about the outcome. In that case, len is positive and rm->remaining_len is zero, which leads to a negative result. This is confusing and could eventually lead to a sign-flip if we skip a lot of packets (unlikely, but still). Therefore, just always set it to zero. Originally committed as revision 17910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace separate packet parsing for "old_format" .ra files by a call toRonald S. Bultje2009-03-09
| | | | | | | | ff_rm_parse_packet(). See "[PATCH] Make RM demuxer behave better with -an option" thread, which sort-of turned into an aggregate of unrelated rmdec.c cleanups. Originally committed as revision 17909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move frame discarding out of the ff_rm_parse_packet() loop, and respectRonald S. Bultje2009-03-09
| | | | | | | | | rm->audio_pkt_cnt in case multiple packets should be read before the next syncpoint in the file, so that ffplay -an on a file containing AAC audio works. See "[PATCH] Make RM demuxer behave better with -an option" thread on mailinglist. Originally committed as revision 17908 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all packets from nuv demuxer as keyframes in order to make seeking work.Reimar Döffinger2009-03-09
| | | | | | For proper seeking, they should be set correctly though. Originally committed as revision 17907 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, to start reading from the first frame we must seek to data_offset,Reimar Döffinger2009-03-09
| | | | | | not 0 in av_seek_frame_generic. Originally committed as revision 17905 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set AVPacket pos also for audio packets in nuv demuxer.Reimar Döffinger2009-03-09
| | | | Originally committed as revision 17904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reindentBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change path pattern to be similar to existing files, and remove useless bufferBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17896 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge struct declaration and definitionBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write map packet every 100 packets according to specsBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write flt packet, might need some tweaking but it worksBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17893 to svn://svn.ffmpeg.org/ffmpeg/trunk
* correctly interleave audio and video according to specsBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17892 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write timecode track in gxfBaptiste Coudurier2009-03-09
| | | | Originally committed as revision 17890 to svn://svn.ffmpeg.org/ffmpeg/trunk
* compute media info in write_headerBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17889 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize write packetBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17888 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unneeded and empty user dataBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17886 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uniformize variable names and remove duplicating fields in private structsBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless fieldsBaptiste Coudurier2009-03-08
| | | | Originally committed as revision 17883 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all uses of the replaced av_fifo_read by av_fifo_generic_readReimar Döffinger2009-03-08
| | | | Originally committed as revision 17873 to svn://svn.ffmpeg.org/ffmpeg/trunk