~ubuntu-branches/debian/sid/ffmpeg/sid

« back to all changes in this revision

Viewing changes to libavutil/opt.c

  • Committer: Package Import Robot
  • Author(s): Andreas Cadhalpun, Fabian Greffrath, Andreas Cadhalpun
  • Date: 2015-09-22 15:15:20 UTC
  • mfrom: (0.1.29)
  • Revision ID: package-import@ubuntu.com-20150922151520-hhmd3in9ykigjvs9
Tags: 7:2.8-1
[ Fabian Greffrath ]
* Pass the --dbg-package=ffmpeg-dbg parameter only to dh_strip.
* Add alternative Depends: libavcodec-ffmpeg-extra56 to libavcodec-dev and
  ffmpeg-dbg to allow for building and debugging with this library installed.

[ Andreas Cadhalpun ]
* Import new major upstream release 2.8.
* Remove the transitional lib*-ffmpeg-dev packages.
* Drop old Breaks on kodi-bin.
* Drop workaround for sparc, which is no Debian architecture anymore.
* Re-enable x265 on alpha, as it's available again.
* Disable unavailable frei0r, opencv and x264 on mips64el.
* Disable libopenjpeg (#787275) and libschroedinger (#787957) decoders.
  (Closes: #786670)
* Disable libdc1394 on sparc64, because it links against the broken due to
  #790560 libudev1.
* Enable libsnappy support.
* Add new symbols.
* Update debian/copyright.
* Update debian/tests/encdec_list.txt.
* Add hls-only-seek-if-there-is-an-offset.patch. (Closes: #798189)
* Add 'Breaks: libavutil-ffmpeg54 (>= 8:0)' to the libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1177
1177
 
1178
1178
void av_opt_set_defaults(void *s)
1179
1179
{
1180
 
#if FF_API_OLD_AVOPTIONS
1181
1180
    av_opt_set_defaults2(s, 0, 0);
1182
1181
}
1183
1182
 
1184
1183
void av_opt_set_defaults2(void *s, int mask, int flags)
1185
1184
{
1186
 
#endif
1187
1185
    const AVOption *opt = NULL;
1188
1186
    while ((opt = av_opt_next(s, opt))) {
1189
1187
        void *dst = ((uint8_t*)s) + opt->offset;
1190
 
#if FF_API_OLD_AVOPTIONS
 
1188
 
1191
1189
        if ((opt->flags & mask) != flags)
1192
1190
            continue;
1193
 
#endif
1194
1191
 
1195
1192
        if (opt->flags & AV_OPT_FLAG_READONLY)
1196
1193
            continue;