Project

General

Profile

Actions

Bug #2085

closed

video.c:459:18: error: 'AVCodecContext' has no member named 'framerate'

Added by Anonymous over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
02/06/2015
Due date:
% Done:

100%

Estimated time:

Description

Die heutige git Version lässt sich bei mir auf Fedora 21 nicht kompilieren.

cc O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I/usr/include/alsa -I/usr/include/ffmpeg -I/usr/include/ffmpeg -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o video.o video.c
video.c: In function 'VideoSetPts':
video.c:459:18: error: 'AVCodecContext' has no member named 'framerate'
if (video_ctx
>framerate.num != 0 && video_ctx->framerate.den != 0) {
^
video.c:459:51: error: 'AVCodecContext' has no member named 'framerate'
if (video_ctx->framerate.num != 0 && video_ctx->framerate.den != 0) {
^
video.c:460:29: error: 'AVCodecContext' has no member named 'framerate'
duration = 1000 * video_ctx->framerate.den / video_ctx->framerate.num;
^
video.c:460:56: error: 'AVCodecContext' has no member named 'framerate'
duration = 1000 * video_ctx->framerate.den / video_ctx->framerate.num;
^
<builtin>: recipe for target 'video.o' failed
make: * [video.o] Error 1
make: *
Waiting for unfinished jobs....


Files

Actions

Also available in: Atom PDF