Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2008-10-23 11:30:16 +0400
committerBenoit Fouet <benoit.fouet@free.fr>2008-10-23 11:30:16 +0400
commite7f3c722127e43b4d4ff46d3c10b55d8d4e56971 (patch)
tree69ca777306b3f20c61b1eaa71f6b54e412e5dec3 /libavcodec/rawenc.c
parent19cf8e2027d88c241df038ba1266be5a16edc075 (diff)
Revert r15653.
Was "Copy pts for each raw encoded frame." It causes problems as timestamps management when video sync is zero needs rework in ffmpeg.c. Originally committed as revision 15669 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rawenc.c')
-rw-r--r--libavcodec/rawenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c
index 1bfc8888b8..24f258066d 100644
--- a/libavcodec/rawenc.c
+++ b/libavcodec/rawenc.c
@@ -40,7 +40,6 @@ static av_cold int raw_init_encoder(AVCodecContext *avctx)
static int raw_encode(AVCodecContext *avctx,
unsigned char *frame, int buf_size, void *data)
{
- avctx->coded_frame->pts = ((AVFrame *)data)->pts;
return avpicture_layout((AVPicture *)data, avctx->pix_fmt, avctx->width,
avctx->height, frame, buf_size);
}