Changeset ee3d89c in git


Ignore:
Timestamp:
17/01/14 07:28:26 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
255f3269
Parents:
9185847
Message:

src/moviemaker.h: If we don't have libav or ffmpeg, omit all the
member variables from class MovieMaker?, to avoid "unused private
field" warnings from clang.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r9185847 ree3d89c  
     1Fri Jan 17 07:27:34 GMT 2014  Olly Betts <olly@survex.com>
     2
     3        * src/moviemaker.h: If we don't have libav or ffmpeg, omit all the
     4          member variables from class MovieMaker, to avoid "unused private
     5          field" warnings from clang.
     6
    17Fri Jan 17 07:22:32 GMT 2014  Olly Betts <olly@survex.com>
    28
  • src/moviemaker.h

    r9185847 ree3d89c  
    44//  Class for writing movies from Aven.
    55//
    6 //  Copyright (C) 2004,2010,2011,2013 Olly Betts
     6//  Copyright (C) 2004,2010,2011,2013,2014 Olly Betts
    77//
    88//  This program is free software; you can redistribute it and/or modify
     
    2121//
    2222
     23#ifndef PACKAGE
     24# error config.h must be included first in each C++ source file
     25#endif
     26
    2327struct AVFormatContext;
    2428struct AVStream;
     
    2832
    2933class MovieMaker {
     34#ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
    3035    AVFormatContext *oc;
    3136    AVStream *video_st;
     
    3742    SwsContext *sws_ctx;
    3843    int averrno;
     44#endif
    3945 
    4046    void release();
Note: See TracChangeset for help on using the changeset viewer.