Hi everyone,

My first post to this list, after a day of reading through
documentation and examples and getting nowhere with a little problem
I've encountered.

Yesterday, I moved from Ubuntu 13.10 to Ubuntu 14.04, and recompiled
a program I'd written using libav. When testing, I found that my code
which previously worked with the Ubuntu 13.10 version oflibav (8.10,
libavcodec53/libavformat53?) no longer works with the Ubuntu 14.04
version of libav (9.11, libavcodec54/libavformat54).

Several error messages are output:
[flac @ 0x1042fc0] invalid sync code
[flac @ 0x1042fc0] invalid frame header
[flac @ 0x1042fc0] decode_frame() failed

I've tested this on 6 different FLACs, and seem to get the same
problem each time. However, playing with avplay or running through
"avconv -i test.flac -f f32le - > /dev/null" seems to work fine, and
no errors are displayed.

I'm guessing that something must've changed between those versions
which means that I now need to modify my code to make it work properly
with the latest version. However, I can't work out what. If anyone
could take a look at a minimal code sample I've written to show the
problem, and offer any suggestions, I'd greatly appreciate it.

Minimal application + output here:

http://pastebin.com/nJHm0pHC

Many Thanks,
Ben
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to