Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm trying to fix a program, and one issue is the use of the deprecated init_put_byte (avio.h). But there's no documentation saying what do I change it for. Where can I find anything about it?

--update

This page shows the function being substituted by avio_init_context, but my version have only the init_put_byte (deprecated).

Version (as in "/usr/local/include/libavformat/version.h"):

#define LIBAVFORMAT_VERSION_MAJOR 52
#define LIBAVFORMAT_VERSION_MINOR 103
#define LIBAVFORMAT_VERSION_MICRO  0
share|improve this question
Isn't the ffmpeg an "Applications packaged in *nix distributions", as allowed by the FAQ? – Tom Brito Jan 30 at 11:09
1  
This is more of a programming question; you might find better answers on Stack Overflow. – Renan Jan 30 at 12:38

closed as off topic by Mikel, Thor, Renan, jasonwryan, rahmu Jan 29 at 18:02

Questions on Unix & Linux Stack Exchange are expected to relate to Unix or Linux within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

2nd Google result suggests init_put_byte was renamed to avio_init.

share|improve this answer
I saw it, but it's different from mine. By the way, how can I check witch version is mine? – Tom Brito Jan 29 at 15:34
First thing to try is pkg-config --modversion libavformat. After that, look at the contents of /usr/include/libavformat/version.h (or the same in /usr/local/include if that's where it's installed). After that, you'll have to try dpkg, rpm, or whatever package tools your distribution provides. – Mikel Jan 29 at 17:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.