forked from FFmpeg/FFmpeg
lavd/caca: do not access deprecated codec context
Use the stream timebase instead.
This commit is contained in:
parent
5471b8944c
commit
fcf7ef0a81
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ static int caca_write_header(AVFormatContext *s)
|
|||
if (!c->window_title)
|
||||
c->window_title = av_strdup(s->url);
|
||||
caca_set_display_title(c->display, c->window_title);
|
||||
caca_set_display_time(c->display, av_rescale_q(1, st->codec->time_base, AV_TIME_BASE_Q));
|
||||
caca_set_display_time(c->display, av_rescale_q(1, st->time_base, AV_TIME_BASE_Q));
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue