Changeset 0fdab5b
- Timestamp:
- Mar 17, 2017, 6:39:15 PM (8 years ago)
- Branches:
- sampler
- Children:
- 218f670
- Parents:
- 9938200 (diff), 91fa88d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
r9938200 r0fdab5b 388 388 av_strerror (err, errorstr, sizeof(errorstr)); 389 389 AUBIO_ERR("source_avcodec: could not read frame in %s (%s)\n", s->path, errorstr); 390 s->eof = 1; 390 391 goto beach; 391 392 } … … 595 596 s->avr = NULL; 596 597 if (s->avCodecCtx != NULL) { 598 #ifndef HAVE_AUBIO_LIBAVCODEC_DEPRECATED 599 avcodec_free_context( &s->avCodecCtx ); 600 #else 597 601 avcodec_close ( s->avCodecCtx ); 602 #endif 598 603 } 599 604 s->avCodecCtx = NULL;
Note: See TracChangeset
for help on using the changeset viewer.