This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avformat_new_stream: fix initial last_dts value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Michael Niedermayer
13 years ago
parent
f6daa9f4f6
commit
4cda8aa1c5
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavformat/utils.c
+ 1
- 0
libavformat/utils.c
View File
@@ -2869,6 +2869,7 @@ AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c)
av_free(st);
return NULL;
}
st->info->last_dts = AV_NOPTS_VALUE;
st->codec = avcodec_alloc_context3(c);
if (s->iformat) {
Write
Preview
Loading…
Cancel
Save