[FFmpeg-soc] BFI
Sisir Koppaka
sisir.koppaka at gmail.com
Sat Mar 22 06:02:20 CET 2008
On Sat, Mar 22, 2008 at 10:28 AM, Mike Melanson <mike at multimedia.cx> wrote:
> Sisir Koppaka wrote:
> > I'm using bfi->membername
>
> Good. That's the right one. :)
>
> What does the structure def look like? And what does the problematic
> statement look like?
This is the set of errors for one function. A similar list appears for the
other functions as well.
bfi.c: In function 'bfi_read_video':
bfi.c:83: error: 'BFIContext' has no member named 'chunk_header'
bfi.c:83: error: 'BFIContext' has no member named 'video_offset'
bfi.c:86: error: 'BFIContext' has no member named 'stream_index'
bfi.c:87: error: 'BFIContext' has no member named 'nframes'
bfi.c:88: error: 'BFIContext' has no member named 'fps'
bfi.c:89: error: 'BFIContext' has no member named 'chunk_header'
bfi.c:89: error: 'BFIContext' has no member named 'video_offset'
bfi.c:90: error: 'BFIContext' has no member named 'chunk_header'
The typdef goes this way :
typedef struct BFIContext {
int nframes;
int nframesOrig;
int palette_set=0;
int *chunk_header;
int audio_offset;
int video_offset;
int audiovideo=0;
int buffer_size;
int fps;
} BFIContext;
The problematic statements look like this:
url_fseek(pb,bfi->chunk_header + bfi->video_offset, SEEK_SET);
bfi->audiovideo = 1; /* Video to be read next. */
-----------------
Sisir Koppaka
More information about the FFmpeg-soc
mailing list