16 Commits (2d60444331fca1910510038dd3817bea885c2367)

Author SHA1 Message Date
Diego Biurrun 6cc1409ba8 examples/output: Remove unused variable 11 years ago
Anton Khirnov a5864e9a25 output example: free the muxing format context properly 11 years ago
Anton Khirnov 182d3f8221 output example: rewrite encoding logic 11 years ago
Anton Khirnov a7fcd4122b output example: store the scaling context in the stream context 11 years ago
Anton Khirnov 6a927d7aaf output example: use a macro instead of a static variable 11 years ago
Anton Khirnov 63fd0d866c output example: allocate the audio frame only once 11 years ago
Anton Khirnov edd5f95764 output example: use OutputStream for audio streams as well 11 years ago
Anton Khirnov 5e7b125b6a output example: use the new AVFrame API to allocate audio frames 11 years ago
Anton Khirnov ac85f631c9 output example: set output channel layout 11 years ago
Anton Khirnov 294daf71a7 output example: use a struct to bundle the video stream variables together 11 years ago
Anton Khirnov 38d044429d output example: use the new AVFrame API for allocating the video frame 11 years ago
Anton Khirnov 452860d7e0 Use av_packet_rescale_ts() to simplify code. 11 years ago
Diego Biurrun b339182eba Move all example programs to doc/examples 11 years ago
Diego Biurrun 0b9716c455 doc/examples: misc Doxygen markup improvements 11 years ago
Anton Khirnov eb891b3114 Replace all uses of avcodec_free_frame with av_frame_free(). 11 years ago
Diego Biurrun ab81f24ad4 build: Integrate multilibrary examples into the build system 11 years ago
Anton Khirnov 5b9c3b4505 Replace all instances of avcodec_alloc_frame() with av_frame_alloc(). 11 years ago
Martin Storsjö f1af3d19a7 output-example: Update to use encode_video2 instead of the now dropped encode_video 12 years ago
Anton Khirnov cb45553f57 Remove pointless #undefs of previously forbidden functions. 12 years ago
Anton Khirnov 716d413c13 Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 12 years ago
Anton Khirnov 11d1ca4b2c Use avcodec_free_frame() to free AVFrames. 12 years ago
Anton Khirnov 36ef5369ee Replace all CODEC_ID_* with AV_CODEC_ID_* 13 years ago
Diego Biurrun afd8a3957b output-example: K&R formatting cosmetics, comment spelling fixes 13 years ago
Luca Barbato 93f6d0475f avf: make the example output the proper message 13 years ago
Luca Barbato 28db30aa29 avf: fix audio writing in the output-example 13 years ago
Anton Khirnov 5ff42e3138 lavf/output-example: use new audio encoding API correctly. 13 years ago
Anton Khirnov 6e9ed7c7ae lavf/output-example: more proper usage of the new API. 13 years ago
Luca Barbato aac63cef20 examples: unbreak compilation 13 years ago
Diego Biurrun 4dccfff9dd tests/examples: Mark some variables only used within their files as static. 13 years ago
Diego Biurrun 9a5d6c23c5 tests/tools/examples: Replace direct exit() calls by return. 13 years ago
Anton Khirnov 3b3bbdd3e6 lavf,lavd: replace av_new_stream->avformat_new_stream part I. 13 years ago
Mans Rullgard 0ebcdf5cda Do not include mathematics.h in avutil.h 14 years ago
Reinhard Tartler d7537a6fce doxygen: Include libavcodec and libavformat examples into the documentation 14 years ago
Stefano Sabatini 59d96941f0 avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols 14 years ago
Anton Khirnov f87b1b373a avio: AVIO_ prefixes for URL_ open flags. 14 years ago
Anton Khirnov 22a3212e32 avio: rename url_fopen/fclose -> avio_open/close. 14 years ago
Anton Khirnov 610219a598 lavf: add av_ prefix to dump_format() 14 years ago
Stefano Sabatini 5d6e4c160a Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum 14 years ago
Ramiro Polla 1f1916cea2 output-example: Set sample_fmt to SAMPLE_FMT_S16. 15 years ago
Jean-Daniel Dupas cc947f04cc Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 15 years ago
Stefano Sabatini 72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which 15 years ago
Stefano Sabatini 54a4f36d6e Remove conditional M_PI definition, it is already defined in 15 years ago
Martin Storsjö a52ce57d4e Replace deprecated guess_format() with av_guess_format(). 15 years ago
Martin Storsjö 073189917e Make output-example.c handle AAC audio. 15 years ago
Ramiro Polla c15508dc93 Use enums instead of int. 16 years ago
Diego Biurrun d95a0c67ae Move output_example.c --> libavformat/output-example.c. 16 years ago
Art Clarke a6f925b8f7 Make output_example use av_interleaved_write_frame() instead of av_write_frame(). 16 years ago
Art Clarke c12b0d86ad Set global header flag for every container that requires it. 16 years ago
Art Clarke de43a23977 av_write_trailer() must be done before closing codecs. 16 years ago
Stefano Sabatini 8e2fd8e1d4 Replace the calls to the deprecated av_alloc_format_context() with 16 years ago