Update ffmpeg codec and media constants
authorNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 27 Dec 2015 22:44:04 +0000 (17:44 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 27 Dec 2015 22:44:04 +0000 (17:44 -0500)
commit168dcabde2e534b7561492b4a3c2f028c76b6005
tree35291c40fff603f17b0ead05bcc36c01f7c19346
parentcd6a53c341ec2a70c48073d53be60396de0a14cf
Update ffmpeg codec and media constants

* src/media/media-ffmpeg.c (media_ffmpeg_analyse_audio): Use
AV_SAMPLE_* instead of SAMPLE_*.
(media_ffmpeg_open): Use AVMEDIA_TYPE_* instead of CODEC_TYPE_*.
(stream_component_open): Ditto.
(stream_component_close): Ditto.
(new_media_ffmpeg_open): Ditto.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/media/media-ffmpeg.c