Index: src/wp-includes/media.php
===================================================================
--- src/wp-includes/media.php	(revision 32501)
+++ src/wp-includes/media.php	(working copy)
@@ -688,23 +688,34 @@
  * @return bool|array Returns an array (url, width, height), or false, if no image is available.
  */
 function wp_get_attachment_image_src( $attachment_id, $size = 'thumbnail', $icon = false ) {
-
+	$image = false;
 	// get a thumbnail or intermediate image if there is one
-	if ( $image = image_downsize($attachment_id, $size) )
-		return $image;
+	$image = image_downsize($attachment_id, $size);
+	if(!$image) {
+		$src = false;
 
-	$src = false;
+		if ( $icon && $src = wp_mime_type_icon($attachment_id) ) {
+			/** This filter is documented in wp-includes/post.php */
+			$icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' );
 
-	if ( $icon && $src = wp_mime_type_icon($attachment_id) ) {
-		/** This filter is documented in wp-includes/post.php */
-		$icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' );
-
-		$src_file = $icon_dir . '/' . wp_basename($src);
-		@list($width, $height) = getimagesize($src_file);
+			$src_file = $icon_dir . '/' . wp_basename($src);
+			@list($width, $height) = getimagesize($src_file);
+		}
+		if ( $src && $width && $height )
+			$image = array( $src, $width, $height );
 	}
-	if ( $src && $width && $height )
-		return array( $src, $width, $height );
-	return false;
+	/**
+	 * Filter the image src result
+	 *
+	 * @since 4.3.0
+	 *
+	 * @param mixed 		$image 			either array with src, width & height, icon src, or false.
+	 * @param int 			$attachment_id 	Image attachment ID.
+	 * @param string|array 	$size          	Optional. Registered image size to retrieve the source for or a flat
+ 	 *                                    	array of height and width dimensions. Default 'thumbnail'.
+	 * @param bool 			$icon Optional. Whether the image should be treated as an icon. Default false.
+	 */
+	return apply_filters('attachment_image_src', $image, $attachment_id, $size, $icon);
 }
 
 /**
