[FFmpeg-devel] [PATCH 1/2] tta: move code that will be shared with encoder to separate file

Paul B Mahol onemda at gmail.com
Wed May 29 09:46:46 CEST 2013


On 5/29/13, James Almer <jamrial at gmail.com> wrote:
> On 27/05/13 5:46 PM, Paul B Mahol wrote:
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  libavcodec/Makefile  |  2 +-
>>  libavcodec/tta.c     | 81
>> +++++++++-------------------------------------------
>>  libavcodec/ttadata.c | 52 +++++++++++++++++++++++++++++++++
>>  libavcodec/ttadata.h | 50 ++++++++++++++++++++++++++++++++
>>  4 files changed, 117 insertions(+), 68 deletions(-)
>>  create mode 100644 libavcodec/ttadata.c
>>  create mode 100644 libavcodec/ttadata.h
>
> Why not tta.c/h for the shared functions, ttadec.c and ttaenc.c for the
> decoder and encoder respectively?

I already consider that and picked this one becouse it makes merging easier.


More information about the ffmpeg-devel mailing list