repositories
/
deb_ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git]
/
ffmpeg
/
libavcodec
/
vorbisenc.c
diff --git
a/ffmpeg/libavcodec/vorbisenc.c
b/ffmpeg/libavcodec/vorbisenc.c
index 0f78d95ffdf6854a7c9a3e12aa471731560966d5..c06093ea99f40e9c24180a557ade2fb65603427a 100644
(file)
--- a/
ffmpeg/libavcodec/vorbisenc.c
+++ b/
ffmpeg/libavcodec/vorbisenc.c
@@
-1094,8
+1094,9
@@
static int vorbis_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
if (frame) {
if (frame->pts != AV_NOPTS_VALUE)
avpkt->pts = ff_samples_to_time_base(avctx, frame->pts);
- } else
+ } else
{
avpkt->pts = venc->next_pts;
+ }
if (avpkt->pts != AV_NOPTS_VALUE)
venc->next_pts = avpkt->pts + avpkt->duration;