mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 21:14:47 +00:00
example: Update decoding/encoding example to the new API.
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
afe9105f66
commit
cb73e35660
@ -453,9 +453,6 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
const char *filename;
|
const char *filename;
|
||||||
|
|
||||||
/* must be called before using avcodec lib */
|
|
||||||
avcodec_init();
|
|
||||||
|
|
||||||
/* register all the codecs */
|
/* register all the codecs */
|
||||||
avcodec_register_all();
|
avcodec_register_all();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user