History

Revert "Allow stream-copying grayscale mov files."

This reverts commit 691dec62011fe9993809fbc793126b40cac0c584. The commit did not fix ticket #3215, it was fixed one commit earlier. The revert may break other use-cases but they should be fixed differently, the offending commit introduced too many problems. Fixes ticket #3377. Fixes ticket #3378.

Carl Eugen Hoyos committed 12 years ago

Commit 54bbe3e1 parent 5d757304 files · +7 −6Browse files

Showing the changes to libavcodec/8bps.c (1 of 4 files). Show all

Unified · Split

libavcodec/8bps.c+1−1
@@ -119,7 +119,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, · 118 unmodified lines
119119 }
120120 }
121121
122− if ((avctx->bits_per_coded_sample & 0x1f) <= 8) {
122+ if (avctx->bits_per_coded_sample <= 8) {
123123 const uint8_t *pal = av_packet_get_side_data(avpkt,
124124 AV_PKT_DATA_PALETTE,
125125 NULL);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t