Bug 1412558 - P1. Don't export some unused symbols. r=gerald
authorJean-Yves Avenard <jyavenard@mozilla.com>
Mon, 06 Nov 2017 18:22:43 +0100
changeset 443904 41848d513f53d148ce2fb12675c7bddcb3fdc46f
parent 443903 088804dba0059036979e7aa28344bc318b7238b4
child 443905 0754603ee7b055980f52bf1b26978df222ec96b4
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerald
bugs1412558
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1412558 - P1. Don't export some unused symbols. r=gerald MozReview-Commit-ID: 8ckJEYseCaS
media/ffvpx/libavcodec/avcodec.symbols
media/ffvpx/libavutil/avutil.symbols
--- a/media/ffvpx/libavcodec/avcodec.symbols
+++ b/media/ffvpx/libavcodec/avcodec.symbols
@@ -1,12 +1,8 @@
-av_bitstream_filter_close
-av_bitstream_filter_filter
-av_bitstream_filter_init
-av_bitstream_filter_next
 av_codec_ffversion
 av_codec_get_chroma_intra_matrix
 av_codec_get_codec_descriptor
 av_codec_get_codec_properties
 av_codec_get_lowres
 av_codec_get_max_lowres
 av_codec_get_pkt_timebase
 av_codec_get_seek_preroll
@@ -52,27 +48,18 @@ av_packet_side_data_name
 av_packet_split_side_data
 av_packet_unpack_dictionary
 av_packet_unref
 av_parser_change
 av_parser_close
 av_parser_init
 av_parser_next
 av_parser_parse2
-av_picture_copy
-av_picture_crop
-av_picture_pad
-av_qsv_alloc_context
-av_register_bitstream_filter
 av_register_codec_parser
 av_register_hwaccel
-av_resample
-av_resample_close
-av_resample_compensate
-av_resample_init
 av_shrink_packet
 av_vorbis_parse_frame
 av_vorbis_parse_frame_flags
 av_vorbis_parse_free
 av_vorbis_parse_init
 av_vorbis_parse_reset
 av_xiphlacing
 avcodec_align_dimensions
@@ -89,41 +76,30 @@ avcodec_default_execute
 avcodec_default_execute2
 avcodec_default_get_buffer2
 avcodec_default_get_format
 avcodec_descriptor_get
 avcodec_descriptor_get_by_name
 avcodec_descriptor_next
 avcodec_enum_to_chroma_pos
 avcodec_fill_audio_frame
-avcodec_find_best_pix_fmt2
-avcodec_find_best_pix_fmt_of_2
-avcodec_find_best_pix_fmt_of_list
 avcodec_find_decoder
 avcodec_find_decoder_by_name
 avcodec_find_encoder
 avcodec_find_encoder_by_name
 avcodec_flush_buffers
 avcodec_free_context
-avcodec_get_chroma_sub_sample
 avcodec_get_class
 avcodec_get_context_defaults3
 avcodec_get_edge_width
 avcodec_get_frame_class
 avcodec_get_name
-avcodec_get_pix_fmt_loss
 avcodec_get_subtitle_rect_class
 avcodec_get_type
 avcodec_is_open
 avcodec_license
 avcodec_open2
-avcodec_pix_fmt_to_codec_tag
 avcodec_register
 avcodec_register_all
 avcodec_set_dimensions
 avcodec_string
 avcodec_version
-avpicture_alloc
-avpicture_fill
-avpicture_free
-avpicture_get_size
-avpicture_layout
 avsubtitle_free
--- a/media/ffvpx/libavutil/avutil.symbols
+++ b/media/ffvpx/libavutil/avutil.symbols
@@ -1,15 +1,12 @@
 av_add_q
 av_add_stable
-av_adler32_update
 av_append_path_component
 av_asprintf
-av_base64_decode
-av_base64_encode
 av_basename
 av_bprint_append_data
 av_bprint_channel_layout
 av_bprint_chars
 av_bprint_clear
 av_bprint_escape
 av_bprint_finalize
 av_bprint_get_buffer
@@ -172,18 +169,20 @@ av_image_copy_to_buffer
 av_image_fill_arrays
 av_image_fill_linesizes
 av_image_fill_max_pixsteps
 av_image_fill_pointers
 av_image_get_buffer_size
 av_image_get_linesize
 av_int_list_length_for_size
 av_log
+#ifndef MOZ_FFVPX_FLACONLY
 av_log2
 av_log2_16bit
+#endif
 av_log_default_callback
 av_log_format_line
 av_log_get_flags
 av_log_get_level
 av_log_set_callback
 av_log_set_flags
 av_log_set_level
 av_malloc
@@ -252,17 +251,16 @@ av_parse_time
 av_parse_video_rate
 av_parse_video_size
 av_pix_fmt_count_planes
 av_pix_fmt_desc_get
 av_pix_fmt_desc_get_id
 av_pix_fmt_desc_next
 av_pix_fmt_get_chroma_sub_sample
 av_pix_fmt_swap_endianness
-av_pixelutils_get_sad_fn
 av_q2intfloat
 av_read_image_line
 av_realloc
 av_realloc_array
 av_realloc_f
 av_reallocp
 av_reallocp_array
 av_reduce
@@ -291,48 +289,31 @@ av_strlcatf
 av_strlcpy
 av_strncasecmp
 av_strndup
 av_strnstr
 av_strstart
 av_strtod
 av_strtok
 av_sub_q
-av_thread_message_queue_alloc
-av_thread_message_queue_free
-av_thread_message_queue_recv
-av_thread_message_queue_send
-av_thread_message_queue_set_err_recv
-av_thread_message_queue_set_err_send
-av_timecode_adjust_ntsc_framenum2
-av_timecode_check_frame_rate
-av_timecode_get_smpte_from_framenum
-av_timecode_init
-av_timecode_init_from_string
-av_timecode_make_mpeg_tc_string
-av_timecode_make_smpte_tc_string
-av_timecode_make_string
 av_timegm
 av_usleep
 av_utf8_decode
 av_util_ffversion
 av_vbprintf
 av_version_info
 av_vlog
 av_write_image_line
 avpriv_alloc_fixed_dsp
 avpriv_float_dsp_alloc
 avpriv_frame_get_metadatap
-avpriv_get_gamma_from_trc
-avpriv_init_lls
 avpriv_report_missing_feature
 avpriv_request_sample
 avpriv_scalarproduct_float_c
 avpriv_set_systematic_pal2
-avpriv_solve_lls
 avutil_configuration
 avutil_license
 avutil_version
 #ifdef XP_WIN
 avpriv_emms_asm
 #endif
 avpriv_slicethread_create
 avpriv_slicethread_execute