Hi,

Thanks for your response.

> You are probably using an outdated version of ffmpeg (I do not see these
> warnings when compiling my programs with a recent ffmpeg, and the line
> numbers you quote do not seem to match the current avcodec.h file).

I have now checked out the latest SVN and compiled my program again and
I get the same warning. Checking avcodec.h the warnings indeed make
sense (note that I am compiling with -Wall):

        2316: typedef struct ImgReSampleContext ImgReSampleContext
        attribute_deprecated;
                
        2337: attribute_deprecated void img_resample(struct
        ImgReSampleContext *s, ...

Additionally, after checking out the latest svn I get this error when
compiling my application:

        avcodec.h:2933: error: ‘av_malloc_attrib’ does not name a type

I don't know why this error suddenly popped up, but av_malloc_attrib
wasn't being used anywhere so I commented the line and the application
compiled (still with warnings).

I tried running the application and I get the same output i.e. wmv2
decoding errors every second or so. Oh, I think I forgot to mention that
video is streaming and playing just fine, but will suddenly get
distorted frames now and then.

So, I'm a bit confused. I am using the most recent checkout yet I'm
getting warnings that you don't see. And again, if I compile with system
headers (i.e. #include <ffmpeg/avcodec.h> instead of my own #include
"libav/avcodec.h", etc) my application gets no warnings and output shows
no wmv2 errors.

> This is not surprising: system headers have nothing to do with libavcodec...

What do you mean? By system headers I mean the ffmpeg headers that are located 
in /usr/include/ffmpeg/.

> This surely cannot be related with the ImgReSampleContext warning:
> you have to
> 1) Update to current svn
> 2) Reproduce the problem with the ffmpeg executable
> 3) Submit a proper bug report.

1) Done
2) How would I do that? ffmpeg seems to compile and run just fine.

> Setting random values in extradata is never a good idea ;-)

I agree :) I tried removing them and everything fails. As video decodes
perfectly with the same extradata and system headers, I wouldn't think
they could be the problem..?

Does anyone know more about extradata, particularly with wmv2?

Thanks,
Ola

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to