Revert "Temporary fix for new crash when closing codec."
Revert "Temporary fix for new crash when closing codec."

This reverts commit d04be23b0519f80fe2002dbef5239ca326fd2a1d.

anba8005/mlt,anba8005/mlt,zzhhui/mlt,wideioltd/mlt,j-b-m/mlt,j-b-m/mlt,zzhhui/mlt,anba8005/mlt,zzhhui/mlt,mltframework/mlt,mltframework/mlt,gmarco/mlt-orig,wideioltd/mlt,siddharudh/mlt,xzhavilla/mlt,xzhavilla/mlt,gmarco/mlt-orig,xzhavilla/mlt,mltframework/mlt,gmarco/mlt-orig,xzhavilla/mlt,j-b-m/mlt,j-b-m/mlt,anba8005/mlt,wideioltd/mlt,xzhavilla/mlt,gmarco/mlt-orig,xzhavilla/mlt,mltframework/mlt,gmarco/mlt-orig,siddharudh/mlt,mltframework/mlt,gmarco/mlt-orig,anba8005/mlt,ttill/MLT,zzhhui/mlt,ttill/MLT,ttill/MLT,anba8005/mlt,zzhhui/mlt,ttill/MLT,xzhavilla/mlt,siddharudh/mlt,mltframework/mlt,siddharudh/mlt,siddharudh/mlt,zzhhui/mlt,ttill/MLT,wideioltd/mlt,ttill/MLT,j-b-m/mlt,ttill/MLT,zzhhui/mlt,siddharudh/mlt,mltframework/mlt,j-b-m/mlt,anba8005/mlt,zzhhui/mlt,j-b-m/mlt,wideioltd/mlt,anba8005/mlt,gmarco/mlt-orig,wideioltd/mlt,anba8005/mlt,zzhhui/mlt,ttill/MLT,xzhavilla/mlt,ttill/MLT,mltframework/mlt,j-b-m/mlt,mltframework/mlt,wideioltd/mlt,siddharudh/mlt,wideioltd/mlt,gmarco/mlt-orig,gmarco/mlt-orig,wideioltd/mlt,j-b-m/mlt,siddharudh/mlt,siddharudh/mlt,mltframework/mlt,xzhavilla/mlt,j-b-m/mlt