[FFmpeg-cvslog] r11638 - in trunk: libavcodec/avcodec.h libavformat/isom.c libavformat/mov.c
Michael Niedermayer
michaelni
Sun Jan 27 21:13:19 CET 2008
On Sun, Jan 27, 2008 at 08:57:04PM +0100, reimar wrote:
> Author: reimar
> Date: Sun Jan 27 20:57:04 2008
> New Revision: 11638
>
> Log:
> Add CODEC_ID_MOV_TEXT and use it instead of modifying the stream in the mov demuxer.
[...]
> Modified: trunk/libavformat/mov.c
> ==============================================================================
> --- trunk/libavformat/mov.c (original)
> +++ trunk/libavformat/mov.c Sun Jan 27 20:57:04 2008
> @@ -1543,12 +1543,6 @@ static int mov_read_packet(AVFormatConte
> } else {
> #endif
> av_get_packet(s->pb, pkt, sample->size);
> - if (s->streams[sc->ffindex]->codec->codec_id == CODEC_ID_TEXT) {
> - int textlen = FFMIN(AV_RB16(pkt->data), sample->size - 2);
> - textlen = FFMAX(textlen, 0);
> - memmove(pkt->data, pkt->data + 2, textlen);
> - pkt->size = textlen;
> - }
btw, a bitstream filter doing above would be welcome
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20080127/9d2dd22c/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list