mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavc/options: initialize pkt_timebase
It's default in option_table.h is 0, but without this fix it is represented as 0/0. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
This commit is contained in:
parent
4a30277a59
commit
01974a58df
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ int avcodec_get_context_defaults3(AVCodecContext *s, const AVCodec *codec)
|
|||
|
||||
s->time_base = (AVRational){0,1};
|
||||
s->framerate = (AVRational){ 0, 1 };
|
||||
s->pkt_timebase = (AVRational){ 0, 1 };
|
||||
s->get_buffer2 = avcodec_default_get_buffer2;
|
||||
s->get_format = avcodec_default_get_format;
|
||||
s->execute = avcodec_default_execute;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue